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

            RegName     = attribute.RegName;
            Description = attribute.Description;
            Author      = attribute.Author;
            CreateDate  = attribute.CreateDate;
        }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the BaseRegItem class.
 /// </summary>
 protected BaseRegItem(string regName, BasePlugInAttribute attribute)
 {
     RegName   = regName;
     Attribute = attribute;
 }
示例#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;
 }