Class ValueExtensions
Provides extension methods to Value that cannot be achieved as members of the class
public static class ValueExtensions
- Inheritance
-
ValueExtensions
- Inherited Members
Remarks
Using generic static extension methods allows for fluent coding while retaining the type of the "this" parameter. If these were members of the Value class then the only return type could be Value, thus losing the original type and requiring a cast to get back to it.
Methods
- RegisterName<T>(T, string)
Sets the virtual register name for a value