/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="priority">The priority of this operator.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> protected BaseBuiltInCalculatingOperator(string symbol, int priority, OperatorIndependency independency, string description) : base(symbol, priority, independency) { if (description == null) { var attribute = Attribute.GetCustomAttribute(GetType(), typeof(DescriptionAttribute)) as DescriptionAttribute; Description = (attribute != null) ? attribute.Description : ""; } else { Description = description; } }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="priority">The priority of this operator.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> protected BaseBuiltInCalculatingOperator(string symbol, int priority, OperatorIndependency independency, string description) : base(symbol, priority, independency) { if (description == null) { var attribute = Attribute.GetCustomAttribute(GetType(), typeof(DescriptionAttribute)) as DescriptionAttribute; Description = (attribute != null) ? attribute.Description : ""; } else { Description = description; } }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> protected BaseBuiltInComparativeOperator(string symbol, OperatorIndependency independency, string description) : base(symbol, independency) { _builder = new OperandBuilder(); if (description == null) { var attribute = Attribute.GetCustomAttribute(GetType(), typeof(DescriptionAttribute)) as DescriptionAttribute; Description = (attribute != null) ? attribute.Description : ""; } else { Description = description; } }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="priority">The priority of this operator.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> public Add(string symbol, int priority, OperatorIndependency independency, string description) : base(symbol, priority, independency, description) { }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="independency">The independency of this operator.</param> protected ComparativeOperator(string symbol, OperatorIndependency independency) : base(symbol, independency) { }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="priority">The priority of this operator.</param> /// <param name="independency">The independency of this operator.</param> protected CalculatingOperator(string symbol, int priority, OperatorIndependency independency) : base(symbol, independency) { Priority = priority; }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="ignoreCase">Whether or not this operator should ignore case.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> public Equal(string symbol, bool ignoreCase, OperatorIndependency independency, string description) : base(symbol, independency, description) { this.ignoreCase = ignoreCase; }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="ignoreCase">Whether or not this operator should ignore case.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> public SuffixSearch(string symbol, bool ignoreCase, OperatorIndependency independency, string description) : base(symbol, independency, description) { _ignoreCase = ignoreCase; }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> public GreaterThanOrEqual(string symbol, OperatorIndependency independency, string description) : base(symbol, independency, description) { }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this class.</param> /// <param name="independency">The independency of this operator.</param> protected FidelyOperator(string symbol, OperatorIndependency independency) { Symbol = symbol; Independency = independency; }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> public LessThan(string symbol, OperatorIndependency independency, string description) : base(symbol, independency, description) { }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this class.</param> /// <param name="independency">The independency of this operator.</param> protected FidelyOperator(string symbol, OperatorIndependency independency) { Symbol = symbol; Independency = independency; }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="priority">The priority of this operator.</param> /// <param name="independency">The independency of this operator.</param> protected CalculatingOperator(string symbol, int priority, OperatorIndependency independency) : base(symbol, independency) { Priority = priority; }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="independency">The independency of this operator.</param> protected ComparativeOperator(string symbol, OperatorIndependency independency) : base(symbol, independency) { }
public NullCalculator(string symbol, int priority, OperatorIndependency independency = OperatorIndependency.Strong) : base(symbol, priority, independency) { }
public NullComparer(string symbol, OperatorIndependency independency = OperatorIndependency.Strong) : base(symbol, independency) { }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="priority">The priority of this operator.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> public Multiply(string symbol, int priority, OperatorIndependency independency, string description) : base(symbol, priority, independency, description) { }
public NullComparer(string symbol, OperatorIndependency independency = OperatorIndependency.Strong) : base(symbol, independency) { }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="symbol">The symbol of this operator.</param> /// <param name="ignoreCase">Whether or not this operator should ignore case.</param> /// <param name="independency">The independency of this operator.</param> /// <param name="description">The description of this operator.</param> public NotPartialMatch(string symbol, bool ignoreCase, OperatorIndependency independency, string description) : base(symbol, independency, description) { _ignoreCase = ignoreCase; }
public NullCalculator(string symbol, int priority, OperatorIndependency independency = OperatorIndependency.Strong) : base(symbol, priority, independency) { }