/// <summary> /// 创建层叠选择器 /// </summary> /// <param name="leftSelector">左选择器</param> /// <param name="combanitor">结合符</param> /// <param name="rightSelector">右选择器</param> /// <returns>层叠选择器</returns> private static ISelector CreateCasecadingSelector(ISelector leftSelector, char combanitor, CssElementSelector rightSelector) { return(CssCasecadingSelector.Create(leftSelector, combanitor, rightSelector)); }
/// <summary> /// 构建 NegationPseudoClass 对象 /// </summary> /// <param name="elementSelector">元素选择器</param> public NegationPseudoClass(CssElementSelector elementSelector) { _elementSelector = elementSelector; }
/// <summary> /// 构建 NegationPseudoClass 对象 /// </summary> /// <param name="elementSelector">元素选择器</param> public NegationPseudoClass( CssElementSelector elementSelector ) { _elementSelector = elementSelector; }