C# 클래스 Domain.Core.Infrastructure.StringToGuid

파일 보기 프로젝트 열기: AdrianFreemantle/DDD

공개 메소드들

메소드 설명
Convert ( string name, System.Guid namespaceId ) : System.Guid

Creates a name-based UUID using the algorithm from RFC 4122 �3.

See Generating a deterministic GUID.

Convert ( string name, System.Guid namespaceId, int version ) : System.Guid

Creates a name-based UUID using the algorithm from RFC 4122 �3.

See Generating a deterministic GUID.

비공개 메소드들

메소드 설명
SwapByteOrder ( byte guid ) : void
SwapBytes ( byte guid, int left, int right ) : void

메소드 상세

Convert() 공개 정적인 메소드

Creates a name-based UUID using the algorithm from RFC 4122 �3.
public static Convert ( string name, System.Guid namespaceId ) : System.Guid
name string The name (within that namespace).
namespaceId System.Guid The ID of the namespace.
리턴 System.Guid

Convert() 공개 정적인 메소드

Creates a name-based UUID using the algorithm from RFC 4122 �3.
public static Convert ( string name, System.Guid namespaceId, int version ) : System.Guid
name string The name (within that namespace).
namespaceId System.Guid The ID of the namespace.
version int The version number of the UUID to create; this value must be either /// 3 (for MD5 hashing) or 5 (for SHA-1 hashing).
리턴 System.Guid