C# Class FlatRedBall.Glue.Parsing.TypeManager

显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
ConvertToCommonType ( string qualifiedName ) : string
GetDefaultForType ( string type ) : string
GetDefaultForTypeAsType ( string type ) : object
GetElementType ( Type listType ) : Type
GetFlatRedBallType ( string typeString ) : Type
GetTypeFromParsedType ( ParsedType parsedType ) : Type
GetTypeFromString ( string typeString ) : Type
GetTypeInListFromParsedType ( ParsedType parsedType ) : Type
LoadAdditionalTypes ( Assembly assembly, string namespaceFilter = null ) : void
LoadAdditionalTypes ( string assemblyFileName, string namespaceFilter = null ) : void

Private Methods

Method Description
LoadAssembliesIfNecessary ( ) : void
LoadFileToBytes ( string filename ) : byte[]
MakeGenericType ( ParsedType parsedType, Type baseType ) : Type

Method Details

ConvertToCommonType() public static method

public static ConvertToCommonType ( string qualifiedName ) : string
qualifiedName string
return string

GetDefaultForType() public static method

public static GetDefaultForType ( string type ) : string
type string
return string

GetDefaultForTypeAsType() public static method

public static GetDefaultForTypeAsType ( string type ) : object
type string
return object

GetElementType() public static method

public static GetElementType ( Type listType ) : Type
listType System.Type
return System.Type

GetFlatRedBallType() public static method

public static GetFlatRedBallType ( string typeString ) : Type
typeString string
return System.Type

GetTypeFromParsedType() public static method

public static GetTypeFromParsedType ( ParsedType parsedType ) : Type
parsedType ParsedType
return System.Type

GetTypeFromString() public static method

public static GetTypeFromString ( string typeString ) : Type
typeString string
return System.Type

GetTypeInListFromParsedType() public static method

public static GetTypeInListFromParsedType ( ParsedType parsedType ) : Type
parsedType ParsedType
return System.Type

LoadAdditionalTypes() public static method

public static LoadAdditionalTypes ( Assembly assembly, string namespaceFilter = null ) : void
assembly System.Reflection.Assembly
namespaceFilter string
return void

LoadAdditionalTypes() public static method

public static LoadAdditionalTypes ( string assemblyFileName, string namespaceFilter = null ) : void
assemblyFileName string
namespaceFilter string
return void