public PSTagAttribute(TagAttributes attribute) { Registry = attribute?.Registry; ImageName = attribute?.ImageName; if (attribute != null) { Attributes = new PSTagAttributeBase(attribute.Attributes); } }
public PSTagAttribute(string registry = default(string), string imageName = default(string), PSTagAttributeBase attributes = default(PSTagAttributeBase)) { Registry = registry; ImageName = imageName; Attributes = attributes; }