Example #1
0
        public CssProperty(string name, CssModule module = null, CssCompatibility compatibility = null)
        {
            #region Preconditions

            if (name == null) throw new ArgumentNullException("name");

            #endregion

            this.name = name;
            this.module = module;

            this.compatibility = compatibility;

            if (compatibility == null && module != null)
            {
                this.compatibility = module;
            }
        }
Example #2
0
 public CssProperty(string name, CssCompatibility compatibility)
     : this(name, null, compatibility)
 {
 }
Example #3
0
 public CssProperty(string name, CssCompatibility compatibility)
     : this(name, null, compatibility)
 { }