C# Класс FakeO.String

Generates a string of random characters.
Показать файл Открыть проект

Открытые методы

Метод Описание
Random ( int length ) : string

Generates a string with a specifies length. Characters will all be printable [A-Za-z]

Random ( string regex ) : string

Generate a string that fits the format of a regex. (Please, keep the regex simple if you don't want this to break)

Приватные методы

Метод Описание
RegCh ( System.CharEnumerator charEnum, string regex, string[]>.List parsed ) : void
String ( ) : System

Описание методов

Random() публичный статический Метод

Generates a string with a specifies length. Characters will all be printable [A-Za-z]
public static Random ( int length ) : string
length int
Результат string

Random() публичный статический Метод

Generate a string that fits the format of a regex. (Please, keep the regex simple if you don't want this to break)
public static Random ( string regex ) : string
regex string A regex to use to define the format of the string.
Результат string