Class And
Class And
Namespace: Aspose.Tasks.Util
Assembly: Aspose.Tasks.dll (25.2.0)
Applies logical AND to the specified conditions.
public class And<t> : ICondition<t>
Type Parameters
T
The type of object to apply method interface to.
Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
And(ICondition<t>, ICondition<t>)
Initializes a new instance of the Aspose.Tasks.Util.And`1 class.
public And(ICondition<t> cond1, ICondition<t> cond2)
Parameters
cond1
ICondition<t>
First condition.
cond2
ICondition<t>
Second condition.
Methods
Check(T)
Returns true if the specified object satisfy the conditions.
public bool Check(T el)
Parameters
el
T
The object to check.
Returns
True if the object satisfy the conditions. </t></t></t></t></t></t>