///GENMHASH:5002116800CBAC02BBC1B4BF62BC4942:A2A025A9F2772D74D0B8615C6144E641
 public T GetById(string id)
 {
     return(Extensions.Synchronize(() => GetByIdAsync(id)));
 }
 public override void DeleteById(string id)
 {
     Extensions.Synchronize(() => DeleteByIdAsync(id));
 }
 public IEnumerable <T> ListByParent(string resourceGroupName, string parentName)
 {
     return(Extensions.Synchronize(() => ListByParentAsync(resourceGroupName, parentName)));
 }
Exemplo n.º 4
0
 protected static IPage <InnerResourceT> ConvertToPage(IEnumerable <InnerResourceT> list)
 {
     return(Extensions.ConvertToPage(list));
 }
Exemplo n.º 5
0
 public virtual IEnumerable <IFluentResourceT> ListByResourceGroup(string resourceGroupName)
 {
     return(WrapList(Extensions.Synchronize(() => this.ListInnerByGroupAsync(resourceGroupName, default(CancellationToken)))
                     .AsContinuousCollection(link => Extensions.Synchronize(() => ListInnerByGroupNextAsync(link, default(CancellationToken))))));
 }
Exemplo n.º 6
0
 public virtual IEnumerable <IFluentResourceT> List()
 {
     return(WrapList(Extensions.Synchronize(() => this.ListInnerAsync(default(CancellationToken)))
                     .AsContinuousCollection(link => Extensions.Synchronize(() => ListInnerNextAsync(link, default(CancellationToken))))));
 }