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()); }
public MyPub(IMQServiceContainer container, ISerializer serializer) { this.mQServiceContainer = container; this.serializer = serializer; }