diff --git a/lib/YANLib/YANLib.csproj b/lib/YANLib/YANLib.csproj index 53ecf1be..997c924e 100644 --- a/lib/YANLib/YANLib.csproj +++ b/lib/YANLib/YANLib.csproj @@ -18,11 +18,11 @@ False README.md git - Update bool + Update model MIT False Tynab.YANLib - 3.1.8 + 3.1.9 diff --git a/lib/YANLib/YANModel.cs b/lib/YANLib/YANModel.cs index 9a28949e..80707b76 100644 --- a/lib/YANLib/YANModel.cs +++ b/lib/YANLib/YANModel.cs @@ -5,11 +5,11 @@ namespace YANLib; public static partial class YANModel { - public static List ToList(this T mdl) where T : class => new() { mdl }; + public static List ConvertList(this T mdl) where T : class => new() { mdl }; - public static HashSet ToHashSet(this T mdl) where T : class => new() { mdl }; + public static HashSet ConvertHashSet(this T mdl) where T : class => new() { mdl }; - public static T[] ToArray(this T mdl) where T : class => new T[1] { mdl }; + public static T[] ConvertArray(this T mdl) where T : class => new T[1] { mdl }; public static T? ChangeTimeZoneAllProperties(this T? mdl, T1 tzSrc, T2 tzDst) where T : class where T1 : struct where T2 : struct {