コード例 #1
0
        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;
 }