Beispiel #1
0
        public ValueInput NullMeansSelf()
        {
            if (ComponentHolderProtocol.IsComponentHolderType(type))
            {
                nullMeansSelf = true;
            }

            return(this);
        }
Beispiel #2
0
        public override void Initialize()
        {
            base.Initialize();

            nullMeansSelf = ComponentHolderProtocol.IsComponentHolderType(metadata.definedType) && metadata.AncestorHasAttribute <NullMeansSelfAttribute>();
        }