Class And

Class And

名称: Aspose.Tasks.Util 集合: Aspose.Tasks.dll (25.4.0)

适用于逻辑和规定的条件。

public class And<t> : ICondition<t>

类型参数

T

对象的类型适用于方法界面。

Inheritance

object And

Implements

ICondition

继承人

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

Constructors

And(条件, 偶然)

启动了 Aspose.Tasks.Util.And`1 类的新例子。

public And(ICondition<t> cond1, ICondition<t> cond2)

Parameters

cond1 ICondition

第一條條件

cond2 ICondition

第二条件。

Methods

Check(T)

返回有效,如果指定的对象满足条件。

public bool Check(T el)

Parameters

el T

要检查的对象。

Returns

bool

事实上,如果对象满足条件。

 中文