public ElementSelector(ElementSelector selector) { this.type = selector.type; this.value = selector.value; if (selector.ChildSelector == null) { return; } this.childSelector = new ElementSelector(selector.ChildSelector); }
public ElementSelector(ElementSelectorTypes type, string value) { this.type = type; this.value = value; }
public ElementSelector(string elementState) { this.value = elementState; this.type = ElementSelectorTypes.VisualStateSelector; }