/// <summary>Ctor. </summary>
 /// <param name="startCondition">the condition that starts/initiates a context partition</param>
 /// <param name="endCondition">the condition that ends/terminates a context partition</param>
 /// <param name="overlapping">true for overlapping contexts</param>
 /// <param name="optionalDistinctExpressions">list of distinct-value expressions, can be null</param>
 public ContextDescriptorInitiatedTerminated(ContextDescriptorCondition startCondition, ContextDescriptorCondition endCondition, bool overlapping, IList <Expression> optionalDistinctExpressions)
 {
     StartCondition = startCondition;
     EndCondition   = endCondition;
     IsOverlapping  = overlapping;
     _optionalDistinctExpressions = optionalDistinctExpressions;
 }
示例#2
0
 /// <summary>
 ///     Ctor.
 /// </summary>
 /// <param name="items">key set descriptions</param>
 /// <param name="initiationConditions">initialization conditions</param>
 /// <param name="terminationCondition">termination condition</param>
 public ContextDescriptorKeyedSegmented(
     IList<ContextDescriptorKeyedSegmentedItem> items,
     IList<ContextDescriptorConditionFilter> initiationConditions,
     ContextDescriptorCondition terminationCondition)
 {
     this.items = items;
     this.initiationConditions = initiationConditions;
     this.terminationCondition = terminationCondition;
 }
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="startCondition">the condition that starts/initiates a context partition</param>
 /// <param name="endCondition">the condition that ends/terminates a context partition</param>
 /// <param name="overlapping">true for overlapping contexts</param>
 public ContextDescriptorInitiatedTerminated(
     ContextDescriptorCondition startCondition,
     ContextDescriptorCondition endCondition,
     bool overlapping)
 {
     StartCondition = startCondition;
     EndCondition   = endCondition;
     IsOverlapping  = overlapping;
 }
 /// <summary>
 ///     Ctor.
 /// </summary>
 /// <param name="startCondition">the condition that starts/initiates a context partition</param>
 /// <param name="endCondition">the condition that ends/terminates a context partition</param>
 /// <param name="overlapping">true for overlapping contexts</param>
 public ContextDescriptorInitiatedTerminated(
     ContextDescriptorCondition startCondition,
     ContextDescriptorCondition endCondition,
     bool overlapping)
 {
     this.startCondition = startCondition;
     this.endCondition = endCondition;
     this.overlapping = overlapping;
 }