コード例 #1
0
ファイル: Use.cs プロジェクト: adrianf223/DW.CodedUI
        /// <summary>
        /// Starts searching for windows by its title.
        /// </summary>
        /// <param name="title">The window title 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 Title(string title, CompareKind comparison)
        {
            var combinableUse = new CombinableUse();

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

            return(combinableUse.Title(title));
        }