public RowRecogPartitionStateRepoNoGroup( RowRecogPreviousStrategyImpl getter, bool keepScheduleState, RowRecogPartitionTerminationStateComparator terminationStateCompare) { singletonState = new RowRecogPartitionStateImpl(getter, new List<RowRecogNFAStateEntry>()); optionalIntervalSchedules = keepScheduleState ? new RowRecogPartitionStateRepoScheduleStateImpl(terminationStateCompare) : null; }
public RowRecogPartitionStateRepoGroup( RowRecogPreviousStrategyImpl getter, RowRecogPartitionStateRepoGroupMeta meta, bool keepScheduleState, RowRecogPartitionTerminationStateComparator terminationStateCompare) { _getter = getter; _meta = meta; _states = new Dictionary<object, RowRecogPartitionStateImpl>(); _optionalIntervalSchedules = keepScheduleState ? new RowRecogPartitionStateRepoScheduleStateImpl(terminationStateCompare) : null; }
/// <summary> /// Ctor. /// </summary> /// <param name="singletonState">state</param> public RowRecogPartitionStateRepoNoGroup(RowRecogPartitionStateImpl singletonState) { this.singletonState = singletonState; optionalIntervalSchedules = null; }