Class NullableReader<T>
This type is not meant to be used directly by MonoGame users. Its purpose is to allow to work-around AOT issues when loading assets with the ContentManager fail due to the absence of runtime-reflection support in that context (i.e. missing types due to trimming and inability to statically discover them at compile-time). If ContentManager.Load() throws an NotSupportedExeception, the message should provide insights on how to fix it.
public class NullableReader<T> : ContentTypeReader<T?> where T : struct
  Type Parameters
T- This type is not meant to be used directly by MonoGame users. Its purpose is to allow to work-around AOT issues when loading assets with the ContentManager fail due to the absence of runtime-reflection support in that context (i.e. missing types due to trimming and inability to statically discover them at compile-time). If ContentManager.Load() throws an NotSupportedExeception, the message should provide insights on how to fix it.
 
- Inheritance
 - 
      
      
      
      NullableReader<T>
 
- Inherited Members
 
Constructors
NullableReader()
public NullableReader()
  Methods
Initialize(ContentTypeReaderManager)
protected override void Initialize(ContentTypeReaderManager manager)
  Parameters
managerContentTypeReaderManager
Read(ContentReader, T?)
protected override T? Read(ContentReader input, T? existingInstance)
  Parameters
inputContentReaderexistingInstanceT?
Returns
- T?