Ejemplo n.º 1
0
 /// <summary>
 /// Create the property object.
 /// </summary>
 /// <param name="propertyId">The <see cref="PropertyId"/> for this property object.</param>
 /// <param name="frameworkAutomationElement">The <see cref="FrameworkAutomationElement"/> for this property object.</param>
 public AutomationProperty(PropertyId propertyId, FrameworkAutomationElementBase frameworkAutomationElement)
 {
     PropertyId = propertyId;
     FrameworkAutomationElement = frameworkAutomationElement;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new pattern object.
 /// </summary>
 public AutomationPattern(PatternId patternId, FrameworkAutomationElementBase frameworkAutomationElement, Func <FrameworkAutomationElementBase, TNative, T> patternCreateFunc)
 {
     _patternId = patternId;
     FrameworkAutomationElement = frameworkAutomationElement;
     _patternCreateFunc         = patternCreateFunc;
 }