Bexel Manager API Documentation
|
Represents a collection of Bexel.Api.SelectionSets.SelectionSets. More...
Public Member Functions | |
SelectionSet | Add (string name, IEnumerable< Element > elements=null, string description="") |
Creates a new selection set and adds it to the collection. More... | |
SelectionSet | Add (string name, string elementQueryExpression, string description="") |
Creates a new selection set and adds it to the collection. More... | |
bool | Remove (string name) |
Removes selection set with the specified name from the collection. More... | |
bool | Remove (SelectionSet selectionSet) |
Removes the specified selection set from the collection. More... | |
void | RemoveRange (IEnumerable< SelectionSet > selectionSets) |
Removes the specified selection sets from the collection. More... | |
![]() | |
SelectionSet | GetSelectionSetByID (SelectionSetID id) |
Retrieves the selection set with the specified ID. More... | |
SelectionSet | GetSelectionSetByID (int internalID) |
Retrieves the selection set with the specified internal ID. More... | |
SelectionSet | GetSelectionSetByName (string name) |
Retrieves the selection set with the specified name. More... | |
bool | ContainsKey (SelectionSetID id) |
Determines whether the collection contains the selection set with the specified ID. More... | |
bool | ContainsKey (int internalID) |
Determines whether the collection contains the selection set with the specified internal ID. More... | |
Additional Inherited Members | |
![]() | |
SelectionSet | this[SelectionSetID id] [get] |
Retrieves the selection set with the specified ID. More... | |
SelectionSet | this[int internalID] [get] |
Retrieves the selection set with the specified selection set internal ID. More... | |
Represents a collection of Bexel.Api.SelectionSets.SelectionSets.
SelectionSet Bexel.Api.SelectionSets.ISelectionSetCollection.Add | ( | string | name, |
IEnumerable< Element > | elements = null , |
||
string | description = "" |
||
) |
Creates a new selection set and adds it to the collection.
name | Name of the selection set to be added. |
elements | Elements of the selection set to be added. |
description | Description of the selection set to be added. |
Bexel.Api.InvalidApiArgumentException | The specified name is invalid or selection set with the same name already exists within collection. |
Implemented in Bexel.Api.SelectionSets.SelectionSetCollection.
SelectionSet Bexel.Api.SelectionSets.ISelectionSetCollection.Add | ( | string | name, |
string | elementQueryExpression, | ||
string | description = "" |
||
) |
Creates a new selection set and adds it to the collection.
name | Name of the selection set to be added. |
elementQueryExpression | Query expression to retreive elements. |
description | Description of the selection set to be added. |
Bexel.Api.InvalidApiArgumentException | The specified name or expression is invalid or selection set with the same name already exists within collection. |
Implemented in Bexel.Api.SelectionSets.SelectionSetCollection.
bool Bexel.Api.SelectionSets.ISelectionSetCollection.Remove | ( | string | name | ) |
Removes selection set with the specified name from the collection.
name | Name of the selection set to be removed. |
This action will also delete selection set from the project.
Implemented in Bexel.Api.SelectionSets.SelectionSetCollection.
bool Bexel.Api.SelectionSets.ISelectionSetCollection.Remove | ( | SelectionSet | selectionSet | ) |
Removes the specified selection set from the collection.
selectionSet | A reference to selection set to be removed. |
This action will also delete selection set from the project. The specified selection set will become invalid API object after removal.
Implemented in Bexel.Api.SelectionSets.SelectionSetCollection.
void Bexel.Api.SelectionSets.ISelectionSetCollection.RemoveRange | ( | IEnumerable< SelectionSet > | selectionSets | ) |
Removes the specified selection sets from the collection.
selectionSets | A reference to selection sets to be removed. |
This action will also delete selection set from the project. Only selection sets which belong to this collection will be removed. The specified selection sets will become invalid API objects after removal.
Implemented in Bexel.Api.SelectionSets.SelectionSetCollection.