ContentTypeReaderManager¶
-
class
ContentTypeReaderManager
: System.Object -
public ContentTypeReader
GetTypeReader
(System.Type targetType) Parameters: - targetType (System.Type) –
-
Microsoft.Xna.Framework.Content.ContentTypeReader[]
LoadAssetReaders
(ContentReader reader) Parameters: - reader (Microsoft.Xna.Framework.Content.ContentReader) –
-
public string
PrepareType
(string type) Removes Version, Culture and PublicKeyToken from a type string.
Parameters: - type (string) – A T:System.String
Returns: A T:System.String
-
public void
AddTypeCreator
(string typeString, System.Func<ContentTypeReader> createFunction) Adds the type creator.
Parameters: - typeString (string) – Type string.
- createFunction (System.Func<ContentTypeReader>) – Create function.
-
public void
ClearTypeCreators
()
-
public ContentTypeReader