public override void GetPropertiesForNewContext(IConstructionCallMessage ctorMsg)
        {
            if (ctorMsg == null)
                throw new ArgumentNullException("ctorMsg");

            IContextProperty cachedProperty = new CachedContextProperty();
            ctorMsg.ContextProperties.Add(cachedProperty);
        }
Пример #2
0
        public override void GetPropertiesForNewContext(IConstructionCallMessage ctorMsg)
        {
            if (ctorMsg == null)
            {
                throw new ArgumentNullException("ctorMsg");
            }

            IContextProperty cachedProperty = new CachedContextProperty();

            ctorMsg.ContextProperties.Add(cachedProperty);
        }