2024-05-15 13:52:07 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace ColdMint.scripts.utils;
|
|
|
|
|
|
2024-06-05 13:38:45 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>GuidUtils</para>
|
|
|
|
|
/// <para>Guid工具</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static class GuidUtils
|
2024-05-15 13:52:07 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Get the new GUID</para>
|
|
|
|
|
/// <para>获取新的GUID</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public static string GetGuid()
|
|
|
|
|
{
|
|
|
|
|
return Guid.NewGuid().ToString();
|
|
|
|
|
}
|
|
|
|
|
}
|