Exemplo n.º 1
0
 /// <summary>
 /// Gets a tenant
 /// </summary>
 /// <remarks>
 /// Gets the tenant
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// The tenant within which the request should operate
 /// </param>
 /// <param name='ifNoneMatch'>
 /// The ETag of the last known version.
 /// </param>
 public static object GetTenant(this ITenancyService operations, string tenantId, string ifNoneMatch = default(string))
 {
     return(operations.GetTenantAsync(tenantId, ifNoneMatch).GetAwaiter().GetResult());
 }