Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DataSerializerGenericMode.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Core.Serialization.Serializers
4 {
5  /// <summary>
6  /// Defines what generic parameters to pass to the serializer.
7  /// </summary>
9  {
10  None = 0,
11  /// <summary>
12  /// The type of the serialized type will be passed as a generic arguments of the serializer.
13  /// Example: serializer of A becomes instantiated as Serializer{A}.
14  /// </summary>
15  Type = 1,
16  /// <summary>
17  /// The generic arguments of the serialized type will be passed as a generic arguments of the serializer.
18  /// Example: serializer of A{T1, T2} becomes instantiated as Serializer{T1, T2}.
19  /// </summary>
20  GenericArguments = 2,
21  /// <summary>
22  /// Combinations of both <see cref="Type"/> and <see cref="GenericArguments"/>.
23  /// Example: serializer of A{T1, T2} becomes instantiated as Serializer{A, T1, T2}.
24  /// </summary>
26  }
27 }
DataSerializerGenericMode
Defines what generic parameters to pass to the serializer.
The generic arguments of the serialized type will be passed as a generic arguments of the serializer...
The type of the serialized type will be passed as a generic arguments of the serializer. Example: serializer of A becomes instantiated as Serializer{A}.
Combinations of both Type and GenericArguments. Example: serializer of A{T1, T2} becomes instantiated...