C# Class MonoDroid.NetProxyGenerator

Inheritance: CodeGenerator
Show file Open project: JeroMiya/androidmono Class Usage Examples

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

public AddAllTypes ( ObjectModel model, HashSet hash, Type type ) : void
model ObjectModel
hash HashSet
type System.Type
return void

BeginNamespace() protected method

protected BeginNamespace ( Type type ) : void
type System.Type
return void

BeginType() protected method

protected BeginType ( Type type ) : bool
type System.Type
return bool

EmitField() protected method

protected EmitField ( Field field ) : void
field Field
return void

EmitMethod() protected method

protected EmitMethod ( Method method ) : void
method Method
return void

EndType() protected method

protected EndType ( Type type ) : void
type System.Type
return void

FindType() public method

public FindType ( string typeName ) : Type
typeName string
return System.Type

GetFieldStatement() public static method

public static GetFieldStatement ( string typeName, Type type ) : string
typeName string
type System.Type
return string

GetFilePath() protected method

protected GetFilePath ( Type type ) : string
type System.Type
return string

GetJavaName() public static method

public static GetJavaName ( Type type ) : string
type System.Type
return string

GetMethodSignature() public static method

public static GetMethodSignature ( Method method ) : string
method Method
return string

GetMethodStatement() public static method

public static GetMethodStatement ( Method method ) : string
method Method
return string

GetOverloadedDelegateTypes() protected method

protected GetOverloadedDelegateTypes ( Method method ) : List
method Method
return List

GetOverloadedType() protected method

protected GetOverloadedType ( Type type ) : string
type System.Type
return string

GetParameterStatement() public method

public GetParameterStatement ( Type parameterType, string parameter ) : string
parameterType System.Type
parameter string
return string

GetSignature() public static method

public static GetSignature ( Type type, string typeName ) : string
type System.Type
typeName string
return string

Prepare() protected method

protected Prepare ( ObjectModel model ) : void
model ObjectModel
return void