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;
        }
Exemple #2
0
        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);
        }