C# 클래스 InteropApiTests.Any

Generate arbitrary (random) values
파일 보기 프로젝트 열기: ayende/managed-esent 1 사용 예제들

공개 메소드들

메소드 설명
BytesOfLength ( int numBytes ) : byte[]

Gets a random array of bytes of the specified length.

StringOfLength ( int numChars ) : string

Gets a random string of the specified length.

메소드 상세

BytesOfLength() 공개 정적인 메소드

Gets a random array of bytes of the specified length.
public static BytesOfLength ( int numBytes ) : byte[]
numBytes int Number of bytes to be returned.
리턴 byte[]

StringOfLength() 공개 정적인 메소드

Gets a random string of the specified length.
public static StringOfLength ( int numChars ) : string
numChars int Number of chars to be in the string.
리턴 string