C# 클래스 Skimur.Common

파일 보기 프로젝트 열기: skimur/skimur

공개 프로퍼티들

프로퍼티 타입 설명
CurrentTime Func
NotSafeRegex System.Text.RegularExpressions.Regex
NsfwRegex System.Text.RegularExpressions.Regex
UnderscoreRegex System.Text.RegularExpressions.Regex
WhiteSpaceRegex System.Text.RegularExpressions.Regex

공개 메소드들

메소드 설명
Fuzz ( int value ) : int
IsNsfw ( string text ) : bool
IsReservedKeyword ( string value ) : bool
RemoveBOM ( this value ) : string
UrlFriendly ( this value, int maxLength = 50 ) : string

메소드 상세

Fuzz() 공개 정적인 메소드

public static Fuzz ( int value ) : int
value int
리턴 int

IsNsfw() 공개 정적인 메소드

public static IsNsfw ( string text ) : bool
text string
리턴 bool

IsReservedKeyword() 공개 정적인 메소드

public static IsReservedKeyword ( string value ) : bool
value string
리턴 bool

RemoveBOM() 공개 정적인 메소드

public static RemoveBOM ( this value ) : string
value this
리턴 string

UrlFriendly() 공개 정적인 메소드

public static UrlFriendly ( this value, int maxLength = 50 ) : string
value this
maxLength int
리턴 string

프로퍼티 상세

CurrentTime 공개적으로 정적으로 프로퍼티

public static Func CurrentTime
리턴 Func

NotSafeRegex 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions NotSafeRegex
리턴 System.Text.RegularExpressions.Regex

NsfwRegex 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions NsfwRegex
리턴 System.Text.RegularExpressions.Regex

UnderscoreRegex 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions UnderscoreRegex
리턴 System.Text.RegularExpressions.Regex

WhiteSpaceRegex 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions WhiteSpaceRegex
리턴 System.Text.RegularExpressions.Regex