public InsertOption(RuleInsertType type, DisplayOption shouldDisplay, DisplayIndices displayIndices)
 {
     this.type           = type;
     this.shouldDisplay  = shouldDisplay;
     this.displayIndices = displayIndices;
 }
			public InsertOption(RuleInsertType type, DisplayOption shouldDisplay, DisplayIndices displayIndices)
			{
				this.type = type;
				this.shouldDisplay = shouldDisplay;
				this.displayIndices = displayIndices;
			}
        /// <summary>
        /// Adds an index option. A predicate can be provided to determine what indices to display.
        /// </summary>
        /// <param name="shouldDisplay">The should display predicate.</param>
        /// <param name="displayIndices">The display indices predicate.</param>
        public void AddIndexOption(DisplayOption shouldDisplay, DisplayIndices displayIndices)
        {
            CheckDisposed();

            m_options.Add(new InsertOption(RuleInsertType.INDEX, shouldDisplay, displayIndices));
        }
		/// <summary>
		/// Adds an index option. A predicate can be provided to determine what indices to display.
		/// </summary>
		/// <param name="shouldDisplay">The should display predicate.</param>
		/// <param name="displayIndices">The display indices predicate.</param>
		public void AddIndexOption(DisplayOption shouldDisplay, DisplayIndices displayIndices)
		{
			CheckDisposed();

			m_options.Add(new InsertOption(RuleInsertType.INDEX, shouldDisplay, displayIndices));
		}