/// <summary>
 /// Creates an instance of this substring computable with a computable for the source and the length but with the start index as a
 /// fixed number.
 /// </summary>
 /// <param name="source">The computable that provides the string from which the substring is retrieved.</param>
 /// <param name="startIndex">The start index as a fixed number.</param>
 /// <param name="length">The computable that provides the length for the operation.</param>
 public SubString(IStringComputable source, int startIndex, INumericComputable length)
     : this(source, new NumericConstant(startIndex), length)
 {
 }
 /// <summary>
 /// Creates an instance of this substring computable with a computable for the source, the start index and the length.
 /// </summary>
 /// <param name="source">The computable that provides the string from which the substring is retrieved.</param>
 /// <param name="startIndex">The computable that provides the start index for the operation.</param>
 /// <param name="length">The computable that provides the length for the operation.</param>
 public SubString(IStringComputable source, INumericComputable startIndex, INumericComputable length)
 {
     Source     = source;
     StartIndex = startIndex;
     Length     = length;
 }
 /// <summary>
 /// Creates an instance of this substring computable with a computable for the source and the start index but the length as a fixed
 /// number.
 /// </summary>
 /// <param name="source">The computable that provides the string from which the substring is retrieved.</param>
 /// <param name="startIndex">The computable that provides the start index for the operation.</param>
 /// <param name="length">The length as a fixed number.</param>
 public SubString(IStringComputable source, INumericComputable startIndex, int length)
     : this(source, startIndex, new NumericConstant(length))
 {
 }
Exemplo n.º 4
0
 public NumericGreaterThan(INumericComputable left, double right)
 {
     Left  = left;
     Right = new NumericConstant(right);
 }
Exemplo n.º 5
0
 public NumericGreaterThan(double left, INumericComputable right)
 {
     Left  = new NumericConstant(left);
     Right = right;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Creates an instance of this computable quantification.
 /// </summary>
 /// <param name="input">The node, which value will be quantified.</param>
 /// <param name="part">The part, by which the quantification takes place.</param>
 /// <param name="stepSize">The numberic computable that supplies the step size.
 public QuantifyDateTime(IDateTimeComputable input, DateTimePart part, INumericComputable stepSize)
 {
     Input    = input;
     Part     = part;
     StepSize = stepSize;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Creates an instance of this numeric comperator.
 /// </summary>
 /// <param name="left">The left input nodes in the compare.</param>
 /// <param name="right">The rightinput nodes in the compare.</param>
 public NumericGreaterThan(INumericComputable left, INumericComputable right)
 {
     Left  = left;
     Right = right;
 }
Exemplo n.º 8
0
 public NumericLessThanOrEquals(double left, INumericComputable right)
 {
     Left  = new NumericConstant(left);
     Right = right;
 }
 /// <summary>
 /// Creates an instance of this numeric comperator.
 /// </summary>
 /// <param name="left">The left input nodes in the compare.</param>
 /// <param name="right">The rightinput nodes in the compare.</param>
 public NumericLessThan(INumericComputable left, INumericComputable right)
 {
     Left  = left;
     Right = right;
 }
Exemplo n.º 10
0
 public NumericLessThanOrEquals(INumericComputable left, double right)
 {
     Left  = left;
     Right = new NumericConstant(right);
 }
Exemplo n.º 11
0
 /// <summary>
 /// Creates an instance of the inverter with the required input.
 /// </summary>
 /// <param name="input">The input computable which output will be converted.</param>
 public Invert(INumericComputable input)
 {
     Input = input;
 }
Exemplo n.º 12
0
 /// <summary>
 /// Creates an instance of the negator with the required input.
 /// </summary>
 /// <param name="input">The input computable which output will be converted.</param>
 public Negate(INumericComputable input)
 {
     Input = input;
 }
 /// <summary>
 /// Creates an instance of this computable with the source computable, a fixed sub-string and a start index computable.
 /// </summary>
 /// <param name="source">The source computable.</param>
 /// <param name="subString">The fixed sub-string.</param>
 /// <param name="startIndex">The start index computable.</param>
 public IndexOfString(IStringComputable source, string subString, INumericComputable startIndex) : this(source, new StringConstant(subString), startIndex)
 {
 }
 /// <summary>
 /// Creates an instance of this computable with the required computables.
 /// </summary>
 /// <param name="source">The source computable.</param>
 /// <param name="subString">The sub-string computable.</param>
 /// <param name="startIndex">The start index computable.</param>
 public IndexOfString(IStringComputable source, IStringComputable subString, INumericComputable startIndex)
 {
     Source     = source;
     SubString  = subString;
     StartIndex = startIndex;
 }