Class TWithString<T>
- Namespace
- SunamoData.Data
- Assembly
- SunamoData.dll
Represents a value of type T with an associated string path.
public class TWithString<T>
Type Parameters
TThe type of the value.
- Inheritance
-
TWithString<T>
- Inherited Members
- Extension Methods
Constructors
TWithString()
Initializes a new instance of the TWithString<T> class.
public TWithString()
TWithString(T, string)
Initializes a new instance of the TWithString<T> class with a value and path.
public TWithString(T value, string path)
Parameters
valueTThe value.
pathstringThe path.
Properties
Path
Gets or sets the path.
public string Path { get; set; }
Property Value
Value
Gets or sets the value.
public T Value { get; set; }
Property Value
- T
Methods
ToString()
Returns the path as the string representation.
public override string ToString()
Returns
- string
The path.