Exemple #1
0
 public UxInsertAttributeChange(
     UxNodePath nodePath,
     int attributeIndex,
     AttributeSyntaxBase attribute)
 {
     NodePath       = nodePath;
     AttributeIndex = attributeIndex;
     Attribute      = attribute;
 }
 public UxReplaceAttributeChange(
     UxNodePath nodePath,
     int attributeIndex,
     AttributeSyntaxBase oldAttribute,
     AttributeSyntaxBase newAttribute)
 {
     NodePath       = nodePath;
     AttributeIndex = attributeIndex;
     OldAttribute   = oldAttribute;
     NewAttribute   = newAttribute;
 }
 public UxAttribute(AttributeSyntaxBase syntax)
 {
     Syntax = syntax ?? throw new ArgumentNullException(nameof(syntax));
 }