public ConditionStatistic(ELogicOperator op, bool negate, EStatOperator statOp, ConfigurationStatistic stat, double statisticValue) : base(op, negate) { this.StatisticOp = statOp; this.StatisticValue = statisticValue; this.Statistic = new WeakReference <ConfigurationStatistic>(stat); }
public ConditionFilter(ELogicOperator op, bool negate, ObsFilter filter, bool filterOp) : base(op, negate) { if (filter == null) { throw new ArgumentNullException(nameof(filter)); } this.Filter = filter; this.FilterOp = filterOp; }
public ConditionFlags(ELogicOperator op, bool negate, ESetOperator flagsOp, IEnumerable <UserFlag> flags) : base(op, negate) { this.FlagsOp = flagsOp; this.Flags = new ReadOnlyCollection <WeakReference <UserFlag> >(flags.Select(WeakReferenceHelper.ToWeakReference).ToList()); }
public ConditionCluster(ELogicOperator op, bool negate, ELimitedSetOperator clusterOp, IEnumerable <Cluster> clusters) : base(op, negate) { this.ClustersOp = clusterOp; this.Clusters = new ReadOnlyCollection <WeakReference <Cluster> >(clusters.Select(WeakReferenceHelper.ToWeakReference).ToList()); }
public ConditionPeak(ELogicOperator op, bool negate, IEnumerable <Peak> peaks, EElementOperator peaksOp) : base(op, negate) { this.Peaks = new ReadOnlyCollection <WeakReference <Peak> >(peaks.Select(WeakReferenceHelper.ToWeakReference).ToList()); this.PeaksOp = peaksOp; }
public ConditionFilter(ELogicOperator op, bool negate, PeakFilter filter, bool filterOp) : base(op, negate) { this.Filter = filter; this.FilterOp = filterOp; }
protected Condition(ELogicOperator op, bool negate) : base(op, negate) { // NA }
public ConditionCondition(ELogicOperator lop, bool negate, EElementOperator op, IEnumerable <ObservationInfo> enu) : base(lop, negate) { this.Operator = op; this.Possibilities = enu.ToList().AsReadOnly(); }
public Condition(ELogicOperator op, bool negate) : base(op, negate) { // NA }
protected ConditionBase(ELogicOperator op, bool negate) { this.Negate = negate; this.CombiningOperator = op; }