Show / Hide Table of Contents

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 Source

FhirNodeInfo(FhirNodeInfo.FhirNodeType, Object)

Initializes a new instance of the FhirNodeInfo class.

Declaration
public FhirNodeInfo(FhirNodeInfo.FhirNodeType sourceType, object sourceNode)
Parameters
Type Name Description
FhirNodeInfo.FhirNodeType sourceType

Type of the source.

System.Object sourceNode

Source node.

| Improve this Doc View Source

FhirNodeInfo(FhirNodeInfo.FhirNodeType, Object, FhirNodeInfo.FhirNodeType, Object)

Initializes a new instance of the FhirNodeInfo class.

Declaration
public FhirNodeInfo(FhirNodeInfo.FhirNodeType sourceType, object sourceNode, FhirNodeInfo.FhirNodeType destinationType, object destinationNode)
Parameters
Type Name Description
FhirNodeInfo.FhirNodeType sourceType

Type of the source.

System.Object sourceNode

Source node.

FhirNodeInfo.FhirNodeType destinationType

The type of the edge.

System.Object destinationNode

Destination for the edge.

Properties

| Improve this Doc View Source

DestinationType

Gets the type of the edge.

Declaration
public FhirNodeInfo.FhirNodeType DestinationType { get; }
Property Value
Type Description
FhirNodeInfo.FhirNodeType
| Improve this Doc View Source

SourceType

Gets the type of the source node.

Declaration
public FhirNodeInfo.FhirNodeType SourceType { get; }
Property Value
Type Description
FhirNodeInfo.FhirNodeType

Methods

| Improve this Doc View Source

GetDestination()

Follows the edge to it's type node.

Declaration
public object GetDestination()
Returns
Type Description
System.Object

An object.

| Improve this Doc View Source

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.

| Improve this Doc View Source

GetSource()

Follows the edge to it's type node.

Declaration
public object GetSource()
Returns
Type Description
System.Object

An object.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX