Class AndAllCondition

Class AndAllCondition

Namespace: Aspose.Tasks.Util
Assembly: Aspose.Tasks.dll (25.2.0)

Applies logical AND to all conditions. For example: cond1 AND cond2 AND cond3…

public class AndAllCondition<t> : ICondition<t>

Type Parameters

T

The type of object to apply method interface to.

Inheritance

objectAndAllCondition<t>

Implements

ICondition<t>

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

AndAllCondition(List<icondition<t>&gt;)

Initializes a new instance of the Aspose.Tasks.Util.AndAllCondition`1 class.

public AndAllCondition(List<icondition<t>&gt; conditions)

Parameters

conditions List<ICondition<t>&gt;

The list of conditions.

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

bool

True if the object satisfy the conditions. </t></icondition</icondition<t></t></t>