C# Class MonoDroid.NetProxyGenerator

Inheritance: CodeGenerator
Afficher le fichier Open project: JeroMiya/androidmono Class Usage Examples

Méthodes publiques

Méthode Description
AddAllTypes ( ObjectModel model, HashSet hash, Type type ) : void
FindType ( string typeName ) : Type
GetFieldStatement ( string typeName, Type type ) : string
GetJavaName ( Type type ) : string
GetMethodSignature ( Method method ) : string
GetMethodStatement ( Method method ) : string
GetParameterStatement ( Type parameterType, string parameter ) : string
GetSignature ( Type type, string typeName ) : string

Méthodes protégées

Méthode Description
BeginNamespace ( Type type ) : void
BeginType ( Type type ) : bool
EmitField ( Field field ) : void
EmitMethod ( Method method ) : void
EndType ( Type type ) : void
GetFilePath ( Type type ) : string
GetOverloadedDelegateTypes ( Method method ) : List
GetOverloadedType ( Type type ) : string
Prepare ( ObjectModel model ) : void

Private Methods

Méthode Description
AddAllInterfaces ( Type interfaceType, HashSet interfaces ) : void
EscapeName ( string name ) : string
EscapeName ( string name, bool doExactMatchOnTypes ) : string
FixCasing ( Method method ) : string
GenerateInterfaceStubs ( Type interfaceType ) : void
NetProxyGenerator ( ) : System

Method Details

AddAllTypes() public méthode

public AddAllTypes ( ObjectModel model, HashSet hash, Type type ) : void
model ObjectModel
hash HashSet
type System.Type
Résultat void

BeginNamespace() protected méthode

protected BeginNamespace ( Type type ) : void
type System.Type
Résultat void

BeginType() protected méthode

protected BeginType ( Type type ) : bool
type System.Type
Résultat bool

EmitField() protected méthode

protected EmitField ( Field field ) : void
field Field
Résultat void

EmitMethod() protected méthode

protected EmitMethod ( Method method ) : void
method Method
Résultat void

EndType() protected méthode

protected EndType ( Type type ) : void
type System.Type
Résultat void

FindType() public méthode

public FindType ( string typeName ) : Type
typeName string
Résultat System.Type

GetFieldStatement() public static méthode

public static GetFieldStatement ( string typeName, Type type ) : string
typeName string
type System.Type
Résultat string

GetFilePath() protected méthode

protected GetFilePath ( Type type ) : string
type System.Type
Résultat string

GetJavaName() public static méthode

public static GetJavaName ( Type type ) : string
type System.Type
Résultat string

GetMethodSignature() public static méthode

public static GetMethodSignature ( Method method ) : string
method Method
Résultat string

GetMethodStatement() public static méthode

public static GetMethodStatement ( Method method ) : string
method Method
Résultat string

GetOverloadedDelegateTypes() protected méthode

protected GetOverloadedDelegateTypes ( Method method ) : List
method Method
Résultat List

GetOverloadedType() protected méthode

protected GetOverloadedType ( Type type ) : string
type System.Type
Résultat string

GetParameterStatement() public méthode

public GetParameterStatement ( Type parameterType, string parameter ) : string
parameterType System.Type
parameter string
Résultat string

GetSignature() public static méthode

public static GetSignature ( Type type, string typeName ) : string
type System.Type
typeName string
Résultat string

Prepare() protected méthode

protected Prepare ( ObjectModel model ) : void
model ObjectModel
Résultat void