Interface IActionPointCollection
Namespace: Experior.Interfaces.Collections
Assembly: Experior.Interfaces.dll
Syntax
public interface IActionPointCollection
Properties
Item[String]
Gets or sets the element with the specified key.
Declaration
IActionPoint this[string key] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Property Value
Type | Description |
---|---|
IActionPoint | [ERROR: invalid expression ReturnTypeName.FullName]. |
Keys
Gets an System.Collections.Generic.IReadOnlyCollection`{T}} containing the names of the available action points.
Declaration
IReadOnlyCollection<string> Keys { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<System.String> | The keys. |
Values
Gets an System.Collections.Generic.IReadOnlyCollection`{T}} containing the available action points.
Declaration
IReadOnlyCollection<IActionPoint> Values { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<IActionPoint> | The values. |
Methods
Add(IActionPoint)
Adds an actionPoint to the global actionPoint list.
Declaration
void Add(IActionPoint actionPoint)
Parameters
Type | Name | Description |
---|---|---|
IActionPoint | actionPoint |
Clear()
Declaration
void Clear()
Contains(IActionPoint)
Determines whether the specified value contains value.
Declaration
bool Contains(IActionPoint item)
Parameters
Type | Name | Description |
---|---|---|
IActionPoint | item |
Returns
Type | Description |
---|---|
System.Boolean |
|
ContainsKey(String)
Determines whether the System.Collections.Generic.IDictionary<TKey, TValue> contains an element with the specified key.
Declaration
bool ContainsKey(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key to locate in the System.Collections.Generic.IDictionary<TKey, TValue>. |
Returns
Type | Description |
---|---|
System.Boolean | true if the System.Collections.Generic.IDictionary<TKey, TValue> contains an element with the key; otherwise, false. |
Count()
Gets the number of actionspoints.
Declaration
int Count()
Returns
Type | Description |
---|---|
System.Int32 | The count. |
Count(Func<IActionPoint, Boolean>)
Gets the number of actionpoints matching the predicate.
Declaration
int Count(Func<IActionPoint, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<IActionPoint, System.Boolean> | predicate |
Returns
Type | Description |
---|---|
System.Int32 | The count. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
IEnumerator<IActionPoint> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<IActionPoint> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Remove(IActionPoint)
Declaration
bool Remove(IActionPoint item)
Parameters
Type | Name | Description |
---|---|---|
IActionPoint | item |
Returns
Type | Description |
---|---|
System.Boolean |
TryGetValue(String, out IActionPoint)
Tries the get value.
Declaration
bool TryGetValue(string key, out IActionPoint value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
IActionPoint | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Update()
Declaration
void Update()
Events
OnItemsAdded
Raised when action points items are added to the collection.
Declaration
event EventHandler<ActionPointCollectionChangedEventArgs> OnItemsAdded
Event Type
Type | Description |
---|---|
System.EventHandler<ActionPointCollectionChangedEventArgs> |
OnItemsRemoved
Raised when action points are removed from the collection.
Declaration
event EventHandler<ActionPointCollectionChangedEventArgs> OnItemsRemoved
Event Type
Type | Description |
---|---|
System.EventHandler<ActionPointCollectionChangedEventArgs> |