Show / Hide Table of Contents

Interface IRegionBehaviorCollection

Defines the interface for a collection of IRegionBehavior classes on a Region.

System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, Sartorius.SAF.Presentation.Regions.IRegionBehavior>>.GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IRegionBehaviorCollection : IEnumerable<KeyValuePair<string, IRegionBehavior>>, IEnumerable

Properties

View Source

Item[String]

Gets the IRegionBehavior with the specified key.

Declaration
IRegionBehavior this[string key] { get; }
Parameters
Type Name Description
System.String key
Property Value
Type Description
IRegionBehavior

The registered IRegionBehavior

Methods

View Source

Add(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
System.String key

The key that specifies the type of IRegionBehavior that's added.

IRegionBehavior regionBehavior

The IRegionBehavior to add.

View Source

ContainsKey(String)

Checks if a IRegionBehavior with the specified key is already present.

Declaration
bool ContainsKey(string key)
Parameters
Type Name Description
System.String key

The key to use to find a particular IRegionBehavior.

Returns
Type Description
System.Boolean

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX