IntermediateSerializer

class IntermediateSerializer : System.Object
public Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.T Deserialize<T>(System.Xml.XmlReader input, string referenceRelocationPath)
Type Parameters:
 
  • T
Parameters:
  • input (System.Xml.XmlReader) –
  • referenceRelocationPath (string) –
public ContentTypeSerializer GetTypeSerializer(System.Type type)
Parameters:
  • type (System.Type) –
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.GenericCollectionHelper GetCollectionHelper(System.Type type)
Parameters:
  • type (System.Type) –
public void Serialize<T>(System.Xml.XmlWriter output, Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.T value, string referenceRelocationPath)
Type Parameters:
 
  • T
Parameters:
  • output (System.Xml.XmlWriter) –
  • value (Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.T) –
  • referenceRelocationPath (string) –
System.Type FindType(string typeName)

Finds the type in any assembly loaded into the AppDomain.

Parameters:
  • typeName (string) –
string GetFullTypeName(System.Type type)

Gets the (potentially) aliased name for any type.

Parameters:
  • type (System.Type) –
string GetTypeName(System.Type type)

Returns the name of the type, without the namespace. For generic types, we add the type parameters in square brackets. i.e. List<int> becomes List[int]

Parameters:
  • type (System.Type) –
bool AlreadyScanned(System.Object value)
Parameters:
  • value (System.Object) –
bool HasTypeAlias(System.Type type)
Parameters:
  • type (System.Type) –