Exemplo n.º 1
0
 /// <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));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 构建 NegationPseudoClass 对象
 /// </summary>
 /// <param name="elementSelector">元素选择器</param>
 public NegationPseudoClass(CssElementSelector elementSelector)
 {
     _elementSelector = elementSelector;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 构建 NegationPseudoClass 对象
 /// </summary>
 /// <param name="elementSelector">元素选择器</param>
 public NegationPseudoClass( CssElementSelector elementSelector )
 {
     _elementSelector = elementSelector;
 }