Exemple #1
0
 public async Task <Dictionary <string, RuleDefinition> > GetAllRules() => await _pipeline.FirstAsync();
Exemple #2
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     _modelExtended.FirstAsync().Wait();
     extenders.Add <IModelApplication, IModelApplicationModelMapper>();
 }
Exemple #3
0
 public async Task <string> GetToken()
 {
     return(await tokenObservable.FirstAsync());
 }
Exemple #4
0
 public async Task <TApplicationState> GetStateSnapshotAsync()
 {
     return(await storeStateStream.FirstAsync());
 }
 public IObservable <TSource> Get(TKey id)
 {
     return(myRoutes.FirstAsync(e => e.Key.Equals(id)).Merge());
 }