コード例 #1
0
 public ObjectElement(IEnumerable <string> attributes, string name, TypeBase type)
 {
     this.Attributes = attributes?.ToList() ?? throw new ArgumentNullException(nameof(attributes));
     this.Name       = name ?? throw new ArgumentNullException(nameof(name));
     this.Type       = type ?? throw new ArgumentNullException(nameof(type));
 }