Table of Contents

Class Function<TObject, TReturn>

Namespace
Java.Util.Function
Assembly
MASES.JNet.dll
public class Function<TObject, TReturn> : Function, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IFunction<TObject, TReturn>, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

TObject

The data type associated to the event

TReturn

The return data type associated to the event

Inheritance
Function<TObject, TReturn>
Implements
IFunction<TObject, TReturn>
Derived
Inherited Members
Extension Methods

Constructors

Function()

Initialize a new instance of Function<TObject, TReturn>

public Function()

Properties

OnApply

The Func<T, TResult> to be executed

public virtual Func<TObject, TReturn> OnApply { get; set; }

Property Value

Func<TObject, TReturn>

Methods

Apply(TObject)

Executes the Function action in the CLR

public virtual TReturn Apply(TObject obj)

Parameters

obj TObject

The Function object

Returns

TReturn

The apply TReturn