public AutomationPattern(PatternId patternId, FrameworkAutomationElementBase frameworkAutomationElement, Func <FrameworkAutomationElementBase, TNative, T> patternCreateFunc) { _patternId = patternId; FrameworkAutomationElement = frameworkAutomationElement; _patternCreateFunc = patternCreateFunc; }
/// <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; }