Beispiel #1
0
 /// <summary>
 ///		Get the dumpable <see cref="SerializationMethodGeneratorManager"/> with specified brandnew assembly builder.
 /// </summary>
 /// <param name="assemblyBuilder">An assembly builder which will store all generated types.</param>
 /// <returns>
 ///		The appropriate <see cref="SerializationMethodGeneratorManager"/> to generate pre-cimplied serializers.
 ///		This value will not be <c>null</c>.
 ///	</returns>
 public static SerializationMethodGeneratorManager Get(AssemblyBuilder assemblyBuilder)
 {
     return(DefaultSerializationMethodGeneratorManager.Create(assemblyBuilder));
 }
Beispiel #2
0
 /// <summary>
 ///		Get the dumpable <see cref="SerializationMethodGeneratorManager"/> with specified brandnew assembly builder.
 /// </summary>
 /// <param name="assemblyBuilder">An assembly builder which will store all generated types.</param>
 /// <returns>
 ///		The appropriate <see cref="SerializationMethodGeneratorManager"/> to generate pre-cimplied serializers.
 ///		This value will not be <c>null</c>.
 ///	</returns>
 public static SerializationMethodGeneratorManager Get(System.Reflection.Emit.AssemblyBuilder assemblyBuilder)
 {
     return(DefaultSerializationMethodGeneratorManager.Create(assemblyBuilder));
 }