protected AutomationBase(IPropertyLibray propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary) { PropertyLibrary = propertyLibrary; EventLibrary = eventLibrary; PatternLibrary = patternLibrary; ConditionFactory = new ConditionFactory(propertyLibrary); OverlayManager = new OverlayManager(); }
protected AutomationBase(IPropertyLibrary propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary) { PropertyLibrary = propertyLibrary; EventLibrary = eventLibrary; PatternLibrary = patternLibrary; ConditionFactory = new ConditionFactory(propertyLibrary); OverlayManager = new WinFormsOverlayManager(); // Make sure all pattern ids are initialized var unused = PatternLibrary.AllForCurrentFramework; }
protected AutomationBase(IPropertyLibray propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary) { PropertyLibrary = propertyLibrary; EventLibrary = eventLibrary; PatternLibrary = patternLibrary; ConditionFactory = new ConditionFactory(propertyLibrary); OverlayManager = new WinFormsOverlayManager(); // Make sure all pattern ids are initialized var allPatterns = PatternLibrary.AllSupportedPatterns; }
/// <summary> /// Creates a new <see cref="AutomationBase"/> instance. /// </summary> /// <param name="propertyLibrary">The property library to use.</param> /// <param name="eventLibrary">The event library to use.</param> /// <param name="patternLibrary">The pattern library to use.</param> /// <param name="textAttributeLibrary">The text attribute library to use.</param> protected AutomationBase(IPropertyLibrary propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary, ITextAttributeLibrary textAttributeLibrary) { PropertyLibrary = propertyLibrary; EventLibrary = eventLibrary; PatternLibrary = patternLibrary; TextAttributeLibrary = textAttributeLibrary; ConditionFactory = new ConditionFactory(propertyLibrary); #if NETSTANDARD OverlayManager = new NullOverlayManager(); #else OverlayManager = new WinFormsOverlayManager(); #endif // Make sure all pattern ids are initialized var unused = PatternLibrary.AllForCurrentFramework; }
protected AutomationBase(IPropertyLibray propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary) { this.PropertyLibrary = propertyLibrary; this.EventLibrary = eventLibrary; this.PatternLibrary = patternLibrary; this.ConditionFactory = new ConditionFactory(propertyLibrary); // Make sure all pattern ids are initialized var unused = this.PatternLibrary.AllForCurrentFramework; }