Class FhirNodeInfo
A FHIR node information class.
Inheritance
System.Object
FhirNodeInfo
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirNodeInfo : object
Constructors
| Improve this Doc View SourceFhirNodeInfo(FhirNodeInfo.FhirNodeType, Object)
Initializes a new instance of the Fhir
Declaration
public FhirNodeInfo(FhirNodeInfo.FhirNodeType sourceType, object sourceNode)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
sourceType | Type of the source. |
System. |
sourceNode | Source node. |
FhirNodeInfo(FhirNodeInfo.FhirNodeType, Object, FhirNodeInfo.FhirNodeType, Object)
Initializes a new instance of the Fhir
Declaration
public FhirNodeInfo(FhirNodeInfo.FhirNodeType sourceType, object sourceNode, FhirNodeInfo.FhirNodeType destinationType, object destinationNode)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
sourceType | Type of the source. |
System. |
sourceNode | Source node. |
Fhir |
destinationType | The type of the edge. |
System. |
destinationNode | Destination for the edge. |
Properties
| Improve this Doc View SourceDestinationType
Gets the type of the edge.
Declaration
public FhirNodeInfo.FhirNodeType DestinationType { get; }
Property Value
Type | Description |
---|---|
Fhir |
SourceType
Gets the type of the source node.
Declaration
public FhirNodeInfo.FhirNodeType SourceType { get; }
Property Value
Type | Description |
---|---|
Fhir |
Methods
| Improve this Doc View SourceGetDestination()
Follows the edge to it's type node.
Declaration
public object GetDestination()
Returns
Type | Description |
---|---|
System. |
An object. |
GetDestination<T>()
Follows the edge to it's type node.
Declaration
public T GetDestination<T>()
where T : FhirTypeBase
Returns
Type | Description |
---|---|
T | An object. |
Type Parameters
Name | Description |
---|---|
T | Generic type parameter. |
GetSource()
Follows the edge to it's type node.
Declaration
public object GetSource()
Returns
Type | Description |
---|---|
System. |
An object. |
GetSource<T>()
Grabs the edge source node.
Declaration
public T GetSource<T>()
where T : FhirTypeBase
Returns
Type | Description |
---|---|
T | An object. |
Type Parameters
Name | Description |
---|---|
T | Type of node expected to return. |