Class AndAllCondition

Class AndAllCondition

Namespace: Aspose.Tasks.Util
Assembly: Aspose.Tasks.dll (25.12.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

object AndAllCondition<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>>)

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

public AndAllCondition(List<ICondition<T>> conditions)

Parameters

conditions List < ICondition <T>>

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.

 English