Class TWithStringDC<T>
- Namespace
- SunamoDevCode._public
- Assembly
- SunamoDevCode.dll
Generic container pairing a value of type T with a string path.
public class TWithStringDC<T>
Type Parameters
TType of the stored value.
- Inheritance
-
TWithStringDC<T>
- Inherited Members
- Extension Methods
Constructors
TWithStringDC()
Default constructor.
public TWithStringDC()
TWithStringDC(T, string)
Creates a new instance with the given value and path.
public TWithStringDC(T t, string path)
Parameters
tTValue to store.
pathstringAssociated string path.
Fields
path
String path associated with the value.
public string path
Field Value
t
The stored value of type T.
public T t
Field Value
- T
Methods
ToString()
Returns the string path.
public override string ToString()
Returns
- string
The path string.