public T Convert <T>(AutomationBase automation, object value) { if (this.converter == null) { return((T)value); } return((T)this.converter(automation, value)); }
protected StructureChangedEventHandlerBase(AutomationBase automation, Action <AutomationElement, StructureChangeType, int[]> callAction) : base(automation) { this.callAction = callAction; }
protected PropertyChangedEventHandlerBase(AutomationBase automation, Action <AutomationElement, PropertyId, object> callAction) : base(automation) { this.callAction = callAction; }
protected FocusChangedEventHandlerBase(AutomationBase automation, Action <AutomationElement> callAction) : base(automation) { this.callAction = callAction; }
protected BasicAutomationElementBase(AutomationBase automation) { this.Automation = automation; this.Properties = new AutomationElementPropertyValues(this); }
protected BasicEventHandlerBase(AutomationBase automation, Action <AutomationElement, EventId> callAction) : base(automation) { this.callAction = callAction; }