Class Predicate<TObject>
Listener for https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html. Extends Predicate
public class Predicate<TObject> : Predicate, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IPredicate<TObject>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
TObject
The data type associated to the event
- Inheritance
-
Predicate<TObject>
- Implements
-
IPredicate<TObject>
- Derived
- Inherited Members
- Extension Methods
Constructors
Predicate()
Initialize a new instance of Predicate<TObject>
public Predicate()
Properties
OnTest
The Func<T, TResult> to be executed
public virtual Func<TObject, bool> OnTest { get; set; }
Property Value
Methods
Test(TObject)
Executes the Predicate action in the CLR
public virtual bool Test(TObject obj)
Parameters
obj
TObjectThe Predicate object
Returns
- bool
The test evaluation