Name To ValueT Class
This is used to map a property or parameter name string to an enumerated value or integer value
Definition
Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public class NameToValue<T>
where T : struct, new()
VB
Public Class NameToValue(Of T As {Structure, New})C++
generic<typename T>
where T : value class, gcnew()
public ref class NameToValueF#
type NameToValue<'T when 'T : struct, new()> = class end- Inheritance
- Object NameToValueT
Type Parameters
- T
- The enumerated type used for the mapping
Remarks
The parsers can create an array of these to convert the strings to a property type or parameter
type and then create the property object and assign it to the PDI object or set the parameter value based
on the item found.
Constructors
| NameToValueT(String, T) | Use this constructor to create an instance that maps a name to a property name rather than a value |
| NameToValueT(String, T, Boolean) | Use this constructor to create an instance that maps a name to a value that is a parameter value |
Properties
| EnumValue | This is used to get the property or parameter type value |
| IsParameterValue | This is used when mapping parameter names and values. It can be used to specify that this item is a parameter value rather than a parameter name. |
| Name | This is used to get the property or parameter name string |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IsMatch | This can be called to see if a string matches the instance's name |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |