protected virtual void Assign(BasePlugInAttribute attribute) { AtawDebug.AssertArgumentNull(attribute, "attribute", this); RegName = attribute.RegName; Description = attribute.Description; Author = attribute.Author; CreateDate = attribute.CreateDate; }
/// <summary> /// Initializes a new instance of the BaseRegItem class. /// </summary> protected BaseRegItem(string regName, BasePlugInAttribute attribute) { RegName = regName; Attribute = attribute; }
/// <summary> /// Initializes a new instance of the CodeRegItem class. /// </summary> internal CodeRegItem(string regName, Type regType, BasePlugInAttribute attribute) : base(regName, attribute) { RegType = regType; }