public VisualStateSelector(IStyleSelector selector, VisualStateType stateType) : base((selector.GetHashCode() * 397) ^ (Int32)stateType) { BaseSelector = selector; StateType = stateType; }
public ChildSelector(IStyleSelector parentSelector, IStyleSelector selectorForChild) : base(parentSelector.GetHashCode() & selectorForChild.GetHashCode()) { Parent = parentSelector; Child = selectorForChild; }
public DependencyPropertyValueRule(IStyleSelector selector, ValueDeclaration <TValue> declaration) { Selector = selector; _hashCode = selector.GetHashCode() & declaration.GetHashCode(); Declaration = declaration; }
public AdjacentSiblingSelector(IStyleSelector firstElementSelector, IStyleSelector secondElementSelector) : base(firstElementSelector.GetHashCode() & secondElementSelector.GetHashCode()) { FirstElementSelector = firstElementSelector; SecondElementSelector = secondElementSelector; }
public StyleValueRule(IStyleSelector selector, IEnumerable <IStyleDeclaration> declarations) { Selector = selector; _hashCode = selector.GetHashCode(); Declarations = declarations.ToArray(); }