Interface IRegionBehaviorCollection
Defines the interface for a collection of IRegionBehavior classes on a Region.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IRegionBehaviorCollection : IEnumerable<KeyValuePair<string, IRegionBehavior>>, IEnumerable
Properties
View Sourcethis[string]
Gets the IRegionBehavior with the specified key.
Declaration
IRegionBehavior this[string key] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | key |
Property Value
| Type | Description |
|---|---|
| IRegionBehavior | The registered IRegionBehavior |
Methods
View SourceAdd(string, IRegionBehavior)
Adds a IRegionBehavior to the collection, using the specified key as an indexer.
Declaration
void Add(string key, IRegionBehavior regionBehavior)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key that specifies the type of IRegionBehavior that's added. |
| IRegionBehavior | regionBehavior | The IRegionBehavior to add. |
ContainsKey(string)
Checks if a IRegionBehavior with the specified key is already present.
Declaration
bool ContainsKey(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key to use to find a particular IRegionBehavior. |
Returns
| Type | Description |
|---|---|
| bool |