コード例 #1
0
        public static NormalWindowProxy <T> ConstructFrom <F, FB, T>(this NormalWindowProxy <F> window, ConstructSymbol <T> .From <FB> symbol, int?timeOut = null)
            where T : Entity
            where FB : class, IEntity
            where F : Entity, FB
        {
            AutomationElement element = window.OperationCapture(symbol.Symbol, timeOut);

            return(new NormalWindowProxy <T>(element));
        }
コード例 #2
0
 public static AutomationElement ExecuteCapture <T>(this NormalWindowProxy <T> window, ExecuteSymbol <T> symbol, int?timeOut = null)
     where T : Entity
 {
     return(window.OperationCapture(symbol.Symbol, timeOut));
 }