Пример #1
0
 protected AutomationBase(IPropertyLibray propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary)
 {
     PropertyLibrary  = propertyLibrary;
     EventLibrary     = eventLibrary;
     PatternLibrary   = patternLibrary;
     ConditionFactory = new ConditionFactory(propertyLibrary);
     OverlayManager   = new OverlayManager();
 }
Пример #2
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;
        }
Пример #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;
 }
Пример #4
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 unused = PatternLibrary.AllForCurrentFramework;
 }
Пример #5
0
 public ConditionFactory(IPropertyLibray propertyLibrary)
 {
     _propertyLibrary = propertyLibrary;
 }
Пример #6
0
 protected AutomationBase(IPropertyLibray propertyLibrary)
 {
     OverlayManager   = new OverlayManager();
     PropertyLibrary  = propertyLibrary;
     ConditionFactory = new ConditionFactory(propertyLibrary);
 }