Beispiel #1
0
 protected NodeAttribute(IAttributable parent, string name)
 {
     RuntimeSettable = true;
     Enabled         = true;
     Visible         = true;
     Parent          = parent;
     Name            = name;
     parent.AddAttribute(this);
 }
 public static IAttributable WithAttribute <TAttribute>(this IAttributable attributable, TAttribute attribute)
     where TAttribute : class, IPropertyAttribute
 {
     attributable.AddAttribute(attribute);
     return(attributable);
 }