コード例 #1
0
ファイル: Use.cs プロジェクト: adrianf223/DW.CodedUI
        /// <summary>
        /// Starts searching for windows by its process name.
        /// </summary>
        /// <param name="name">The process name to search for.</param>
        /// <param name="comparison">The comparison kind how the window title will be compared.</param>
        /// <returns>A combinable Use to be able to append additional conditions.</returns>
        public static CombinableUse Process(string name, CompareKind comparison)
        {
            var combinableUse = new CombinableUse();

            return(combinableUse.Process(name, comparison));
        }
コード例 #2
0
ファイル: Use.cs プロジェクト: adrianf223/DW.CodedUI
        /// <summary>
        /// Starts searching for windows by its process name. By default the CompareKind.ContainsIgnoreCase will be use.
        /// </summary>
        /// <param name="name">The process name to search for.</param>
        /// <returns>A combinable Use to be able to append additional conditions.</returns>
        public static CombinableUse Process(string name)
        {
            var combinableUse = new CombinableUse();

            return(combinableUse.Process(name));
        }