C# Class Octgn.Extentions.StringExtensionMethods

Afficher le fichier Open project: octgn/OCTGN

Méthodes publiques

Méthode 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 méthode

public static Decrypt ( this text ) : string
text this
Résultat string

Encrypt() public static méthode

public static Encrypt ( this text ) : string
text this
Résultat string

SetLastPythonFunction() public static méthode

public static SetLastPythonFunction ( this log, string function ) : void
log this
function string
Résultat void

SetRunningGame() public static méthode

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

SetUserName() public static méthode

public static SetUserName ( this log, string username ) : void
log this
username string
Résultat void

Sha1() public static méthode

public static Sha1 ( this text ) : string
text this
Résultat string

ToInt() public static méthode

public static ToInt ( this guid ) : int
guid this
Résultat int

With() public static méthode

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