C# 클래스 Microsoft.Xna.Framework.Content.ContentTypeReaderManager

파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

공개 메소드들

메소드 설명
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>>).

비공개 메소드들

메소드 설명
ContentTypeReaderManager ( ) : System
LoadAssetReaders ( Microsoft.Xna.Framework.Content.ContentReader reader ) : Microsoft.Xna.Framework.Content.ContentTypeReader[]

메소드 상세

AddTypeCreator() 공개 정적인 메소드

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

ClearTypeCreators() 공개 정적인 메소드

public static ClearTypeCreators ( ) : void
리턴 void

GetTypeReader() 공개 메소드

public GetTypeReader ( Type targetType ) : Microsoft.Xna.Framework.Content.ContentTypeReader
targetType System.Type
리턴 Microsoft.Xna.Framework.Content.ContentTypeReader

PrepareType() 공개 정적인 메소드

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 ///
리턴 string