Class FhirSliceDiscriminatorRule
A fhir slice discriminator rule.
Inheritance
System.Object
FhirSliceDiscriminatorRule
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirSliceDiscriminatorRule : ICloneable
Constructors
| Improve this Doc View SourceFhirSliceDiscriminatorRule(FhirSliceDiscriminatorRule)
Initializes a new instance of the Fhir
Declaration
public FhirSliceDiscriminatorRule(FhirSliceDiscriminatorRule source)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
source | Source for the. |
FhirSliceDiscriminatorRule(FhirSliceDiscriminatorRule.FhirSliceDiscriminatorType, String)
Initializes a new instance of the Fhir
Declaration
public FhirSliceDiscriminatorRule(FhirSliceDiscriminatorRule.FhirSliceDiscriminatorType discriminatorType, string path)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
discriminatorType | The type. |
System. |
path | The full pathname of the file. |
FhirSliceDiscriminatorRule(String, String)
Initializes a new instance of the Fhir
Declaration
public FhirSliceDiscriminatorRule(string type, string path)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | The type. |
System. |
path | The full pathname of the file. |
Properties
| Improve this Doc View SourceDiscriminatorType
Gets the type of the discriminator.
Declaration
public FhirSliceDiscriminatorRule.FhirSliceDiscriminatorType DiscriminatorType { get; }
Property Value
Type | Description |
---|---|
Fhir |
The type of the discriminator. |
DiscriminatorTypeName
Gets the name of the discriminator type.
Declaration
public string DiscriminatorTypeName { get; }
Property Value
Type | Description |
---|---|
System. |
The name of the discriminator type. |
Path
Gets the full pathname of the file.
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
System. |
The full pathname of the file. |
Methods
| Improve this Doc View SourceClone()
Creates a new object that is a copy of the current instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System. |
A new object that is a copy of this instance. |
DeepCopy()
Deep copy.
Declaration
public FhirSliceDiscriminatorRule DeepCopy()
Returns
Type | Description |
---|---|
Fhir |
A FhirSliceDiscriminatorRule. |