private void Init(AutomationProperty property, object val, PropertyConditionFlags flags) { Utility.ValidateArgumentNonNull(property, "property"); this._obj = (IUIAutomationPropertyCondition) Automation.Factory.CreatePropertyConditionEx( property.Id, Utility.UnwrapObject(val), (PropertyConditionFlags)flags); }
internal PropertyCondition(IUIAutomationPropertyCondition obj) { Debug.Assert(obj != null); this._obj = obj; }