public override IDecorationOf<IStore> ApplyThisDecorationTo(IStore store) { var returnValue = new PollingStoreDecoration(store); if (this.BackgroundHost != null) returnValue.SetBackgroundAction(this.BackgroundStrategy, this.BackgroundHost.BackgroundIntervalMSecs); return returnValue; }
public override IDecorationOf <IStore> ApplyThisDecorationTo(IStore store) { var returnValue = new PollingStoreDecoration(store); if (this.BackgroundHost != null) { returnValue.SetBackgroundAction(this.BackgroundStrategy, this.BackgroundHost.BackgroundIntervalMSecs); } return(returnValue); }