protected override void Init() {
            Kernel.ComponentRegistered += new ComponentDataDelegate(OnComponentRegistered);

            if (FacilityConfig.IsNotNull()) {
                if (FacilityConfig.Attributes["provideByDefault"].ToBool().IsNotNull())
                    _wirePropertiesInContainerByDefault = (bool)FacilityConfig.Attributes["provideByDefault"].ToBool();
            }
            _wiredPropertyChecker = new WiredPropertyChecker(_wirePropertiesInContainerByDefault);
        }
Beispiel #2
0
        protected override void Init()
        {
            Kernel.ComponentRegistered += new ComponentDataDelegate(OnComponentRegistered);

            if (FacilityConfig.IsNotNull())
            {
                if (FacilityConfig.Attributes["provideByDefault"].ToBool().IsNotNull())
                {
                    _wirePropertiesInContainerByDefault = (bool)FacilityConfig.Attributes["provideByDefault"].ToBool();
                }
            }
            _wiredPropertyChecker = new WiredPropertyChecker(_wirePropertiesInContainerByDefault);
        }