本文整理匯總了C#中System.Workflow.Activities.Rules.Literal類的典型用法代碼示例。如果您正苦於以下問題:C# Literal類的具體用法?C# Literal怎麽用?C# Literal使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Literal類屬於System.Workflow.Activities.Rules命名空間,在下文中一共展示了Literal類的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: LessThanOrEqual
internal override bool LessThanOrEqual(Literal rhs)
{
return rhs.GreaterThanOrEqual(this.m_value);
}
示例2: Equal
internal override bool Equal(Literal rhs)
{
return rhs.Equal(this.m_value);
}
示例3: Equal
/// <summary>
/// Relational equal operator
/// Value-equality if we can do it, otherwise reference-equality
/// </summary>
/// <param name="rhs"></param>
/// <returns></returns>
internal abstract bool Equal(Literal rhs);
示例4: GreaterThan
internal override bool GreaterThan(Literal rhs)
{
return rhs.LessThan(this.m_value);
}
示例5: LessThan
internal override bool LessThan(Literal rhs)
{
return rhs.GreaterThan(m_value);
}
示例6: GreaterThanOrEqual
internal override bool GreaterThanOrEqual(Literal rhs)
{
return rhs.LessThanOrEqual(m_value);
}
示例7: GreaterThan
internal override bool GreaterThan(Literal rhs)
{
return rhs.LessThan();
}
示例8: LessThanOrEqual
/// <summary>
/// Relational less than or equal to operator
/// </summary>
/// <param name="rhs"></param>
/// <returns></returns>
internal override bool LessThanOrEqual(Literal rhs)
{
return rhs.GreaterThanOrEqual();
}