diff --git a/dot.sln.DotSettings b/dot.sln.DotSettings index 5f67123..205c3ab 100644 --- a/dot.sln.DotSettings +++ b/dot.sln.DotSettings @@ -1,7 +1,6 @@ + xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml:space="preserve"> <?xml version="1.0" encoding="utf-16"?> <Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> <TypePattern> @@ -11,6 +10,7 @@ <Kind.Order> <DeclarationKind>Interface</DeclarationKind> <DeclarationKind>Class</DeclarationKind> + <DeclarationKind>Record</DeclarationKind> <DeclarationKind>Enum</DeclarationKind> <DeclarationKind>Struct</DeclarationKind> <DeclarationKind>Delegate</DeclarationKind> diff --git a/src/Lang/Str.Designer.cs b/src/Lang/Str.Designer.cs index 0ee49af..e69b6c7 100644 --- a/src/Lang/Str.Designer.cs +++ b/src/Lang/Str.Designer.cs @@ -284,6 +284,15 @@ namespace Dot.Lang { } } + /// + /// Looks up a localized string similar to NTP 标准网络时钟: {0}. + /// + public static string ServerTime { + get { + return ResourceManager.GetString("ServerTime", resourceCulture); + } + } + /// /// Looks up a localized string similar to 已读取:{0}/{1},处理:{2},跳过:{3}. /// diff --git a/src/Time/Main.cs b/src/Time/Main.cs index f2c5dec..85a72af 100644 --- a/src/Time/Main.cs +++ b/src/Time/Main.cs @@ -1,3 +1,4 @@ +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Net.Sockets; using System.Runtime.InteropServices; @@ -6,6 +7,13 @@ namespace Dot.Time; public sealed class Main : Tool