FromValueSerializer() 공개 정적인 메소드

Creates a new Serializer that uses the specified IValueSerializer. This method is available for advanced scenarios. The preferred way to customize the bahavior of the deserializer is to use SerializerBuilder.
public static FromValueSerializer ( IValueSerializer valueSerializer ) : Serializer
valueSerializer IValueSerializer
리턴 Serializer
예제 #1
0
 /// <summary>
 /// Creates a new <see cref="Serializer" /> according to the current configuration.
 /// </summary>
 public ISerializer Build()
 {
     return(Serializer.FromValueSerializer(BuildValueSerializer()));
 }
예제 #2
0
 /// <summary>
 /// Creates a new <see cref="Serializer" /> according to the current configuration.
 /// </summary>
 public ISerializer Build()
 {
     return(Serializer.FromValueSerializer(BuildValueSerializer(), emitterSettings));
 }