public GetExtensions ( string appObjectId ) : Task |
||
appObjectId | string | |
Résultat | Task |
public async Task<string> GetExtensions(string appObjectId)
{
return await SendGraphGetRequest("/applications/" + appObjectId + "/extensionProperties", null);
}
private static void GetExtensionAttribute(string[] args) { if (args.Length <= 1) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Please include the b2c-extensions-app objectId. Run B2CGraphShell Syntax to see examples."); Console.ForegroundColor = init; return; } object formatted = JsonConvert.DeserializeObject(client.GetExtensions(args[1]).Result); Console.ForegroundColor = ConsoleColor.White; Console.WriteLine(JsonConvert.SerializeObject(formatted, Formatting.Indented)); }