C# Class Microsoft.Xna.Framework.Content.ContentTypeReaderManager

Afficher le fichier Open project: procfxgen/MGShaderEditor Class Usage Examples

Méthodes publiques

Méthode Description
AddTypeCreator ( string typeString, Func createFunction ) : void

Adds the type creator.

ClearTypeCreators ( ) : void
GetTypeReader ( Type targetType ) : Microsoft.Xna.Framework.Content.ContentTypeReader
PrepareType ( string type ) : string

Removes Version, Culture and PublicKeyToken from a type string.

Supports multiple generic types (e.g. Dictionary<TKey,TValue>) and nested generic types (e.g. List<List<int>>).

Private Methods

Méthode Description
ContentTypeReaderManager ( ) : System
LoadAssetReaders ( Microsoft.Xna.Framework.Content.ContentReader reader ) : Microsoft.Xna.Framework.Content.ContentTypeReader[]

Method Details

AddTypeCreator() public static méthode

Adds the type creator.
public static AddTypeCreator ( string typeString, Func createFunction ) : void
typeString string /// Type string. ///
createFunction Func /// Create function. ///
Résultat void

ClearTypeCreators() public static méthode

public static ClearTypeCreators ( ) : void
Résultat void

GetTypeReader() public méthode

public GetTypeReader ( Type targetType ) : Microsoft.Xna.Framework.Content.ContentTypeReader
targetType System.Type
Résultat Microsoft.Xna.Framework.Content.ContentTypeReader

PrepareType() public static méthode

Removes Version, Culture and PublicKeyToken from a type string.
Supports multiple generic types (e.g. Dictionary<TKey,TValue>) and nested generic types (e.g. List<List<int>>).
public static PrepareType ( string type ) : string
type string /// A ///
Résultat string