C# Class Microsoft.Azure.Commands.Automation.Common.PowerShellJsonConverter

Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
Deserialize ( string json ) : System.Management.Automation.PSObject
Serialize ( object inputObject ) : string

Private Methods

Méthode Description
InvokeScript ( string scriptName, Hashtable parameters ) : Collection

Invokes a powershell script using the same runspace as the caller.

Method Details

Deserialize() public static méthode

public static Deserialize ( string json ) : System.Management.Automation.PSObject
json string
Résultat System.Management.Automation.PSObject

Serialize() public static méthode

public static Serialize ( object inputObject ) : string
inputObject object
Résultat string