<PackageReference Include="Relativity.API" Version="20.0.0" />

CompositeCondition

A collection of Conditions.
public int Count { get; }

Gets the number of Conditions contained in the list.

public bool IsReadOnly { get; }

Gets a value indicating whether the list is read-only.

public Condition this[int index] { get; set; }

Gets or sets the Condition at the specified index.

public void Add(Condition condition)

Adds a condition to the set.

public void AddRange(Condition[] conditions)

Adds a collection of conditions to the set.

public void AddRange(IEnumerable<Condition> conditions)

Adds a collection of conditions to the set.

public void Clear()

Removes all Conditions from the list.

public bool Contains(Condition item)

Determines whether the list contains a specific value.

public void CopyTo(Condition[] array, int arrayIndex)

Copies the elements of the list to an System.Array, starting at a particular System.Array index.

Allows for the iteration of sub conditions in the condition.

public int IndexOf(Condition item)

Determines the index of a specific Condition in the list.

public void Insert(int index, Condition item)

Inserts an item to the Condition at the specified index.

public bool Remove(Condition item)

Removes the first occurrence of a specific Condition from the List

public void RemoveAt(int index)

Removes the Condition at the specified index.