Esempio n. 1
0
        /* 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);
        }
Esempio n. 2
0
 public bool HasSameProperties(InheritStatement other)
 {
     return(Name == other.Name);
 }