public void Merge(SetterPropertyCollection setters)
 {
     foreach (SetterProperty setter in setters)
     {
         if (!IsMandatory(setter.Name))
         {
             MarkSetterAsMandatory(setter.Name);
         }
     }
 }
Example #2
0
        public Plugin(Type pluggedType)
        {
            var att =
                Attribute.GetCustomAttribute(pluggedType, typeof(PluggableAttribute), false) as PluggableAttribute;

            _concreteKey = att == null ? pluggedType.AssemblyQualifiedName : att.ConcreteKey;

            _pluggedType = pluggedType;
            _setters     = new SetterPropertyCollection(this);
            _constructor = new Constructor(pluggedType);
        }
Example #3
0
 public Plugin(Type pluggedType)
 {
     _pluggedType = pluggedType;
     _setters     = new SetterPropertyCollection(this);
     _constructor = new Constructor(pluggedType);
 }