Beispiel #1
0
 /// <summary>
 /// Constructs a metric numeric operation.
 /// </summary>
 /// <param name="argument">Numeric argument.</param>
 public MetricUnaryMinus(MetricExpression argument)
 {
     Argument = argument;
 }
Beispiel #2
0
 /// <summary>
 /// Constructs a metric specification.
 /// </summary>
 /// <param name="optimizationSpecifier">Optimization specifier.</param>
 /// <param name="expression">Argument metric expression.</param>
 public Metric(OptimizationSpecifier optimizationSpecifier, MetricExpression expression)
 {
     OptimizationSpecifier = optimizationSpecifier;
     Expression            = expression;
 }
Beispiel #3
0
 /// <summary>
 /// Constructs a metric numeric operation.
 /// </summary>
 /// <param name="argument1">First numeric argument.</param>
 /// <param name="argument2">Second numeric argument.</param>
 public MetricDivide(MetricExpression argument1, MetricExpression argument2)
 {
     Argument1 = argument1;
     Argument2 = argument2;
 }
Beispiel #4
0
 /// <summary>
 /// Constructs a metric numeric operation.
 /// </summary>
 /// <param name="argument1">First numeric argument.</param>
 /// <param name="argument2">Second numeric argument.</param>
 public MetricMinus(MetricExpression argument1, MetricExpression argument2)
 {
     Argument1 = argument1;
     Argument2 = argument2;
 }