C# 클래스 FakeO.Distinct

Creates distinct values, not really random. Within the same AppDomain, the same 2 values shouldnt be repeated. Useful for objects that need unique IDs.
파일 보기 프로젝트 열기: rally25rs/FakeO

공개 메소드들

메소드 설명
Guid ( ) : System.Guid

Creates a new Guid

Number ( ) : int

Returns a distinct number. The numbers run up in sequence, starting at 1.

String ( ) : string

Returns a 32-character unique string This is actually just a Guid.ToString("N")

메소드 상세

Guid() 공개 정적인 메소드

Creates a new Guid
public static Guid ( ) : System.Guid
리턴 System.Guid

Number() 공개 정적인 메소드

Returns a distinct number. The numbers run up in sequence, starting at 1.
public static Number ( ) : int
리턴 int

String() 공개 정적인 메소드

Returns a 32-character unique string This is actually just a Guid.ToString("N")
public static String ( ) : string
리턴 string