C# Class Octgn.Extentions.StringExtensionMethods

Mostrar archivo Open project: octgn/OCTGN

Public Methods

Method Description
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)

Method Details

Decrypt() public static method

public static Decrypt ( this text ) : string
text this
return string

Encrypt() public static method

public static Encrypt ( this text ) : string
text this
return string

SetLastPythonFunction() public static method

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

SetRunningGame() public static method

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

SetUserName() public static method

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

Sha1() public static method

public static Sha1 ( this text ) : string
text this
return string

ToInt() public static method

public static ToInt ( this guid ) : int
guid this
return int

With() public static method

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