コード例 #1
0
 public PSTagAttribute(TagAttributes attribute)
 {
     Registry  = attribute?.Registry;
     ImageName = attribute?.ImageName;
     if (attribute != null)
     {
         Attributes = new PSTagAttributeBase(attribute.Attributes);
     }
 }
コード例 #2
0
 public PSTagAttribute(string registry = default(string), string imageName = default(string), PSTagAttributeBase attributes = default(PSTagAttributeBase))
 {
     Registry   = registry;
     ImageName  = imageName;
     Attributes = attributes;
 }