C# 클래스 Octgn.Extentions.StringExtensionMethods

파일 보기 프로젝트 열기: octgn/OCTGN

공개 메소드들

메소드 설명
Decrypt ( this text ) : string
Encrypt ( this text ) : string
SetLastPythonFunction ( this log, string function ) : void
SetRunningGame ( this log, string gameName, System.Guid gameId, System.Version gameVersion ) : void
SetUserName ( this log, string username ) : void
Sha1 ( this text ) : string
ToInt ( this guid ) : int
With ( this input ) : string

Provides a cleaner method of string concatenation. (i.e. "Name {0}".With(firstName)

메소드 상세

Decrypt() 공개 정적인 메소드

public static Decrypt ( this text ) : string
text this
리턴 string

Encrypt() 공개 정적인 메소드

public static Encrypt ( this text ) : string
text this
리턴 string

SetLastPythonFunction() 공개 정적인 메소드

public static SetLastPythonFunction ( this log, string function ) : void
log this
function string
리턴 void

SetRunningGame() 공개 정적인 메소드

public static SetRunningGame ( this log, string gameName, System.Guid gameId, System.Version gameVersion ) : void
log this
gameName string
gameId System.Guid
gameVersion System.Version
리턴 void

SetUserName() 공개 정적인 메소드

public static SetUserName ( this log, string username ) : void
log this
username string
리턴 void

Sha1() 공개 정적인 메소드

public static Sha1 ( this text ) : string
text this
리턴 string

ToInt() 공개 정적인 메소드

public static ToInt ( this guid ) : int
guid this
리턴 int

With() 공개 정적인 메소드

Provides a cleaner method of string concatenation. (i.e. "Name {0}".With(firstName)
public static With ( this input ) : string
input this
리턴 string