命名调整
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
using Standard;
|
||||
// This file contains general utilities to aid in development.
|
||||
// Classes here generally shouldn't be exposed publicly since
|
||||
// they're not particular to any library functionality.
|
||||
// Because the classes here are internal, it's likely this file
|
||||
// might be included in multiple assemblies.
|
||||
#pragma warning disable 1591, 618
|
||||
// 该文件包含一般实用程序,用于帮助开发。
|
||||
// 这里的类一般不应公开暴露,因为
|
||||
// 它们与任何库函数无关。
|
||||
// 因为这里的类是内部类,所以这个文件
|
||||
// 可能包含在多个程序集中。
|
||||
namespace AntdWpf.Microsoft.Windows.Shell.Standard
|
||||
{
|
||||
using System;
|
||||
@@ -15,8 +14,8 @@ namespace AntdWpf.Microsoft.Windows.Shell.Standard
|
||||
using System.Threading;
|
||||
|
||||
/// <summary>
|
||||
/// A static class for retail validated assertions.
|
||||
/// Instead of breaking into the debugger an exception is thrown.
|
||||
/// 用于验证断言的静态类。
|
||||
/// 不会进入调试器,而是抛出一个异常。
|
||||
/// </summary>
|
||||
internal static class Verify
|
||||
{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#pragma warning disable 1591, 618
|
||||
namespace AntdWpf.Microsoft.Windows.Shell
|
||||
namespace AntdWpf.Microsoft.Windows.Shell
|
||||
{
|
||||
using System;
|
||||
using System.Windows;
|
||||
@@ -53,6 +52,7 @@ namespace AntdWpf.Microsoft.Windows.Shell
|
||||
public static void MinimizeWindow(Window window)
|
||||
{
|
||||
Verify.IsNotNull(window, "window");
|
||||
|
||||
_PostSystemCommand(window, SC.MINIMIZE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user