Exemplo n.º 1
0
 protected AutomationBase(IPropertyLibray propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary)
 {
     PropertyLibrary  = propertyLibrary;
     EventLibrary     = eventLibrary;
     PatternLibrary   = patternLibrary;
     ConditionFactory = new ConditionFactory(propertyLibrary);
     OverlayManager   = new OverlayManager();
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
        /// <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;
        }
Exemplo n.º 5
0
        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;
        }