/* Function: AddInheritedStyle */ public void AddInheritedStyle(string name, Config.PropertyLocation propertyLocation, Style styleObject = null) { if (inherits == null) { inherits = new List <InheritStatement>(); } InheritStatement entry = new InheritStatement(); entry.Name = name; entry.Style = styleObject; entry.PropertyLocation = propertyLocation; inherits.Add(entry); }
public bool HasSameProperties(InheritStatement other) { return(Name == other.Name); }