Bexel Manager API Documentation
|
Public Member Functions | |
TElement | GetElementByID (ElementID id) |
Retrieves the element with the specified ID. More... | |
TElement | GetElementByID (int internalID) |
Retrieves the element with the specified internal ID. More... | |
TElement | GetElementByID (string uniqueID) |
Retrieves the element with the specified unique ID. More... | |
TElement | GetElementByID (Guid uniqueID) |
Retrieves the element with the specified unique ID. More... | |
IEnumerable< TElement > | GetElementsByID (string uniqueID) |
Retrieves the elements with the specified unique ID. More... | |
IEnumerable< TElement > | GetElementsByID (Guid uniqueID) |
Retrieves the elements with the specified unique ID. More... | |
IEnumerator< TElement > | GetEnumerator () |
bool | ContainsKey (ElementID id) |
Determines whether the collection contains the element with the specified ID. More... | |
bool | ContainsKey (int internalID) |
Determines whether the collection contains the element with the specified internal ID. More... | |
Protected Member Functions | |
abstract TElement | Create (ElementRef elementRef) |
override Element | Create (ElementRef elementRef) |
Properties | |
abstract Project | Project [get] |
abstract IReadOnlyDictionary< int, ElementRef > | ElementCollectionRef [get] |
int | Count [get] |
TElement | this[ElementID id] [get] |
TElement | this[int internalID] [get] |
Properties inherited from Bexel.Api.IReadOnlyElementCollection< TElement > | |
TElement | this[ElementID id] [get] |
Retrieves the element with the specified ID. More... | |
TElement | this[int internalID] [get] |
Retrieves the element with the specified internal ID. More... | |
TElement | : | Element |
bool Bexel.Api.ReadOnlyElementCollection< TElement >.ContainsKey | ( | ElementID | id | ) |
Determines whether the collection contains the element with the specified ID.
id | ID of the element. |
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.
bool Bexel.Api.ReadOnlyElementCollection< TElement >.ContainsKey | ( | int | internalID | ) |
Determines whether the collection contains the element with the specified internal ID.
internalID | Internal ID of the element. |
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.
TElement Bexel.Api.ReadOnlyElementCollection< TElement >.GetElementByID | ( | ElementID | id | ) |
Retrieves the element with the specified ID.
id | ID of the element. |
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.
TElement Bexel.Api.ReadOnlyElementCollection< TElement >.GetElementByID | ( | int | internalID | ) |
Retrieves the element with the specified internal ID.
internalID | Internal ID of the element. |
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.
TElement Bexel.Api.ReadOnlyElementCollection< TElement >.GetElementByID | ( | string | uniqueID | ) |
Retrieves the element with the specified unique ID.
uniqueID | Unique ID of the element. |
If multiple elements with the same unique ID exist, the first element will be returned.
System.ArgumentNullException | uniqueID is null. |
System.FormatException | uniqueID is not a valid GUID format. |
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.
TElement Bexel.Api.ReadOnlyElementCollection< TElement >.GetElementByID | ( | Guid | uniqueID | ) |
Retrieves the element with the specified unique ID.
uniqueID | Unique ID of the element. |
If multiple elements with the same unique ID exist, the first element will be returned.
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.
IEnumerable<TElement> Bexel.Api.ReadOnlyElementCollection< TElement >.GetElementsByID | ( | string | uniqueID | ) |
Retrieves the elements with the specified unique ID.
uniqueID | Unique ID of the element. |
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.
IEnumerable<TElement> Bexel.Api.ReadOnlyElementCollection< TElement >.GetElementsByID | ( | Guid | uniqueID | ) |
Retrieves the elements with the specified unique ID.
uniqueID | Unique ID of the element. |
Implements Bexel.Api.IReadOnlyElementCollection< TElement >.