本文整理汇总了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();
}