本文整理汇总了C#中System.Workflow.Activities.Rules.ArithmeticLiteral类的典型用法代码示例。如果您正苦于以下问题:C# ArithmeticLiteral类的具体用法?C# ArithmeticLiteral怎么用?C# ArithmeticLiteral使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ArithmeticLiteral类属于System.Workflow.Activities.Rules命名空间,在下文中一共展示了ArithmeticLiteral类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Add
internal override object Add(ArithmeticLiteral v)
{
return v.Add(this.m_value);
}
示例2: Multiply
internal override object Multiply(ArithmeticLiteral v)
{
return v.Multiply((ushort) this.m_value);
}
示例3: Subtract
internal override object Subtract(ArithmeticLiteral v)
{
return v.Subtract((ushort) this.m_value);
}
示例4: Divide
internal override object Divide(ArithmeticLiteral v)
{
return v.Divide((ushort) this.m_value);
}
示例5: Modulus
internal override object Modulus(ArithmeticLiteral v)
{
return v.Modulus((ushort) this.m_value);
}
示例6: Divide
internal override object Divide(ArithmeticLiteral v)
{
return v.Divide(m_value);
}
示例7: BitOr
internal override object BitOr(ArithmeticLiteral v)
{
return v.BitOr((ushort) this.m_value);
}
示例8: Subtract
internal override object Subtract(ArithmeticLiteral v)
{
return v.Subtract(m_value);
}
示例9: Multiply
internal override object Multiply(ArithmeticLiteral v)
{
return v.Multiply(m_value);
}
示例10: BitOr
internal virtual object BitOr(ArithmeticLiteral v)
{
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName, CodeBinaryOperatorType.BitwiseOr, this.TypeName);
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type, CodeBinaryOperatorType.BitwiseOr, this.m_type);
}
示例11: Modulus
internal override object Modulus(ArithmeticLiteral v)
{
return v.Modulus();
}
示例12: Add
internal override object Add(ArithmeticLiteral v)
{
return v.Add();
}
示例13: BitAnd
internal override object BitAnd(ArithmeticLiteral v)
{
return v.BitAnd(m_value);
}