C# Class IronPython.Runtime.Types.NameConverter

Contains helper methods for converting C# names into Python names.
Mostra file Open project: jschementi/iron

Public Methods

Method Description
GetTypeName ( Type t ) : string
TryGetName ( IronPython.Runtime.Types.PythonType dt, EventInfo ei, MethodInfo eventMethod, string &name ) : NameType
TryGetName ( IronPython.Runtime.Types.PythonType dt, MethodInfo mi, string &name ) : NameType
TryGetName ( IronPython.Runtime.Types.PythonType dt, PropertyInfo pi, MethodInfo prop, string &name ) : NameType

Private Methods

Method Description
GetNameFromMethod ( IronPython.Runtime.Types.PythonType dt, MethodInfo mi, NameType res, string &name ) : NameType

Method Details

GetTypeName() public static method

public static GetTypeName ( Type t ) : string
t System.Type
return string

TryGetName() public static method

public static TryGetName ( IronPython.Runtime.Types.PythonType dt, EventInfo ei, MethodInfo eventMethod, string &name ) : NameType
dt IronPython.Runtime.Types.PythonType
ei System.Reflection.EventInfo
eventMethod System.Reflection.MethodInfo
name string
return NameType

TryGetName() public static method

public static TryGetName ( IronPython.Runtime.Types.PythonType dt, MethodInfo mi, string &name ) : NameType
dt IronPython.Runtime.Types.PythonType
mi System.Reflection.MethodInfo
name string
return NameType

TryGetName() public static method

public static TryGetName ( IronPython.Runtime.Types.PythonType dt, PropertyInfo pi, MethodInfo prop, string &name ) : NameType
dt IronPython.Runtime.Types.PythonType
pi System.Reflection.PropertyInfo
prop System.Reflection.MethodInfo
name string
return NameType