Class Supplier<TReturn>
Listener for Java Supplier https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html. Extends Supplier
public class Supplier<TReturn> : Supplier, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, ISupplier<TReturn>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
TReturn
The return data type associated to the event
- Inheritance
-
Supplier<TReturn>
- Implements
-
ISupplier<TReturn>
- Derived
- Inherited Members
- Extension Methods
Constructors
Supplier()
Initialize a new instance of Supplier<TReturn>
public Supplier()
Properties
OnGet
The Func<TResult> to be executed
public virtual Func<TReturn> OnGet { get; set; }
Property Value
- Func<TReturn>
Methods
Get()
Executes the Supplier action in the CLR
public virtual TReturn Get()
Returns
- TReturn
The get
TReturn