本文整理匯總了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);
}