C# Class Patcher.Rules.CodeBuilder

Afficher le fichier Open project: unforbidable/patcher Class Usage Examples

Méthodes publiques

Méthode Description
BeginMethod ( string name, Type sourceProxyType ) : void
BeginMethod ( string name, Type sourceProxyType, Type targetProxyType ) : void
CodeBuilder ( string namespaceName, string className, string comment ) : System
EndMethod ( ) : void
ReturnTrue ( ) : void
ToString ( ) : string
WriteCode ( string code ) : void
WriteCodeAsReturn ( string code ) : void

Private Methods

Méthode Description
Beautify ( string source ) : string
NamespaceIsValid ( string ns ) : bool

Method Details

BeginMethod() public méthode

public BeginMethod ( string name, Type sourceProxyType ) : void
name string
sourceProxyType System.Type
Résultat void

BeginMethod() public méthode

public BeginMethod ( string name, Type sourceProxyType, Type targetProxyType ) : void
name string
sourceProxyType System.Type
targetProxyType System.Type
Résultat void

CodeBuilder() public méthode

public CodeBuilder ( string namespaceName, string className, string comment ) : System
namespaceName string
className string
comment string
Résultat System

EndMethod() public méthode

public EndMethod ( ) : void
Résultat void

ReturnTrue() public méthode

public ReturnTrue ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

WriteCode() public méthode

public WriteCode ( string code ) : void
code string
Résultat void

WriteCodeAsReturn() public méthode

public WriteCodeAsReturn ( string code ) : void
code string
Résultat void