Example #1
0
 public override Task OnActivateAsync()
 {
     Logger             = ServiceProvider.GetService <ILogger <ESGrain <K, S, W> > >();
     storageContainer   = ServiceProvider.GetService <IStorageContainer>();
     mQServiceContainer = ServiceProvider.GetService <IMQServiceContainer>();
     Serializer         = ServiceProvider.GetService <ISerializer>();
     return(RecoveryState());
 }
Example #2
0
 public MyPub(IMQServiceContainer container, ISerializer serializer)
 {
     this.mQServiceContainer = container;
     this.serializer         = serializer;
 }