Class Mapping
Represents mapping from a text path to the object property represented by that path.
Inherited Members
Namespace: IAI.DT.DataModel.Utilities
Assembly: IAI.DT.DataModel.dll
Syntax
public class Mapping
Constructors
Mapping(string, string, string, PropertyInfo?)
Constructor
Declaration
public Mapping(string path, string dataPointPath, string dataPointName, PropertyInfo? property = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path to the data point |
| string | dataPointPath | The path to the data point |
| string | dataPointName | The name of the data point |
| PropertyInfo | property | When specified, the name of the property of a complex data point |
Properties
DataPointName
The name of the path element that is a DataPoint<T>
Declaration
public string DataPointName { get; }
Property Value
| Type | Description |
|---|---|
| string |
DataPointPath
The path to the DataPoint<T>.
Declaration
public string DataPointPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Path
The text path to the object property
Declaration
public string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
Property
The Property identified by the Path
Declaration
public PropertyInfo? Property { get; }
Property Value
| Type | Description |
|---|---|
| PropertyInfo |
Methods
ToString()
Declaration
[ExcludeFromCodeCoverage]
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |