Aracılığıyla paylaş


PolymorphicJsonCustomConverter<T1,T2>(String, String) Constructor

Definition

Initializes a new instance of the PolymorphicJsonCustomConverter<T1,T2> class.

public PolymorphicJsonCustomConverter (string firstDiscriminatorField, string secondDiscriminatorField);
new Microsoft.Azure.Management.Network.PolymorphicJsonCustomConverter<'T1, 'T2 (requires 'T1 : null and 'T2 : null)> : string * string -> Microsoft.Azure.Management.Network.PolymorphicJsonCustomConverter<'T1, 'T2 (requires 'T1 : null and 'T2 : null)>
Public Sub New (firstDiscriminatorField As String, secondDiscriminatorField As String)

Parameters

firstDiscriminatorField
String

The field on which to choose first child type.

secondDiscriminatorField
String

The field on which to choose second child type.

Applies to