protected virtual void Assign(BasePlugInAttribute attribute)
        {
            AtawDebug.AssertArgumentNull(attribute, "attribute", this);

            RegName     = attribute.RegName;
            Description = attribute.Description;
            Author      = attribute.Author;
            CreateDate  = attribute.CreateDate;
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the BaseRegItem class.
 /// </summary>
 protected BaseRegItem(string regName, BasePlugInAttribute attribute)
 {
     RegName   = regName;
     Attribute = attribute;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the CodeRegItem class.
 /// </summary>
 internal CodeRegItem(string regName, Type regType, BasePlugInAttribute attribute)
     : base(regName, attribute)
 {
     RegType = regType;
 }