PolymorphicJsonCustomConverter<T1,T2>(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET