/// <summary> /// 初始化 /// </summary> /// <param name="ownerCss"></param> /// <param name="begin"></param> protected CssInfo(Css ownerCss, int begin) : this(ownerCss, begin, -1) { // }
/// <summary> /// 初始化 /// </summary> /// <param name="ownerCss"></param> protected CssInfo(Css ownerCss) : this(ownerCss, -1) { // }
/// <summary> /// 初始化 /// </summary> /// <param name="ownerCss"></param> /// <param name="begin"></param> /// <param name="end"></param> protected CssInfo(Css ownerCss, int begin, int end) { this.OwnerCss = ownerCss; this.Begin = begin; this.End = end; }
internal Style(Css ownerCss, int begin, int selectorEnd) : this(ownerCss, begin) { this.SelectorEnd = selectorEnd; }
internal Block(Css ownerCss, int begin, int nameEnd) : base(ownerCss, begin) { this.Styles = new StyleCollection(); this.NameEnd = nameEnd; }
internal Property(Css ownerCss, int begin, int nameEnd, int valueBegin, int valueEnd, int end) : base(ownerCss, begin, end) { this.NameEnd = nameEnd; this.ValueBegin = valueBegin; this.ValueEnd = valueEnd; }