コード例 #1
0
        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);
        }
コード例 #2
0
 internal PropertyCondition(IUIAutomationPropertyCondition obj)
 {
     Debug.Assert(obj != null);
     this._obj = obj;
 }