示例#1
0
文件: CssProperty.cs 项目: carbon/Css
        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;
            }
        }
示例#2
0
 public CssProperty(string name, CssCompatibility compatibility)
     : this(name, null, compatibility)
 {
 }
示例#3
0
文件: CssProperty.cs 项目: carbon/Css
 public CssProperty(string name, CssCompatibility compatibility)
     : this(name, null, compatibility)
 { }