CVB.Net 15.0
Ref< T > Class Template Reference

Class to store a reference to a value type in. More...

Public Member Functions

 Ref (Func< T > getter, Action< T > setter)
 Construct a reference object. More...
 

Properties

Value [get, set]
 Access the stored value.
 

Detailed Description

Class to store a reference to a value type in.

Template Parameters
TValue type to be wrapped.
Type Constraints
T :struct 

Constructor & Destructor Documentation

◆ Ref()

Ref ( Func< T >  getter,
Action< T >  setter 
)

Construct a reference object.

Parameters
getterValue-get function.
setterValue-set function.