次の方法で共有


Utilities Class

Definition

Class to define Utility methods

public static class Utilities
type Utilities = class
Public Class Utilities
Inheritance
Utilities

Methods

Deserialize<T>(String)

Deserialize the xml as T

GenerateRandomKey(Int32)

Generate cryptographically random key of given bit size.

GetDefaultPath()

method to return the Downloads path for the current user.

GetPagedList<T>(Func<IPage<T>>, Func<String,IPage<T>>)
GetResourceProviderNamespaceAndType(String, String, String)
GetValueFromArmId(String, String)

Get Value from ARM ID

Serialize<T>(T)

Serialize the T as xml using DataContract Serializer

UpdateCurrentVaultContext(ARSVault)

Updates current Vault context.

UpdateCurrentVaultContext(ASRVaultCreds)

Updates current Vault context.

WriteToFile<T>(T, String, String)

Method to write content to a file.

Applies to