Browse Source

增加YidHelper快速使用方法

tags/v1.0.0
zhouzj 3 years ago
parent
commit
a873e95158
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Yitter.IdGenerator/YidHelper.cs

+ 1
- 1
src/Yitter.IdGenerator/YidHelper.cs View File

@@ -43,7 +43,7 @@ namespace Yitter.IdGenerator
/// 否则将会初始化一个WorkerId为1的对象。
/// </summary>
/// <returns></returns>
public static long NewId()
public static long NextId()
{
if (_IdGenInstance == null)
{


Loading…
Cancel
Save