Beispiel #1
0
 public async Task <Dictionary <string, RuleDefinition> > GetAllRules() => await _pipeline.FirstAsync();
Beispiel #2
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     _modelExtended.FirstAsync().Wait();
     extenders.Add <IModelApplication, IModelApplicationModelMapper>();
 }
Beispiel #3
0
 public async Task <string> GetToken()
 {
     return(await tokenObservable.FirstAsync());
 }
Beispiel #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());
 }