Show / Hide Table of Contents

Interface IRegionCollection

Defines a collection of IRegion uniquely identified by their Name.

System.Collections.Generic.IEnumerable<Sartorius.SAF.Presentation.Regions.IRegion>.GetEnumerator()
System.Collections.Specialized.INotifyCollectionChanged.CollectionChanged
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IRegionCollection : IEnumerable<IRegion>, IEnumerable, INotifyCollectionChanged

Properties

View Source

Item[String]

Gets the IRegion with the name received as index.

Declaration
IRegion this[string regionName] { get; }
Parameters
Type Name Description
System.String regionName

Name of the region to be retrieved.

Property Value
Type Description
IRegion

The IRegion identified with the requested name.

Methods

View Source

Add(IRegion)

Adds a IRegion to the collection.

Declaration
void Add(IRegion region)
Parameters
Type Name Description
IRegion region

Region to be added to the collection.

View Source

ContainsRegionWithName(String)

Checks if the collection contains a IRegion with the name received as parameter.

Declaration
bool ContainsRegionWithName(string regionName)
Parameters
Type Name Description
System.String regionName

The name of the region to look for.

Returns
Type Description
System.Boolean

true if the region is contained in the collection, otherwise false.

View Source

Remove(String)

Removes a IRegion from the collection.

Declaration
bool Remove(string regionName)
Parameters
Type Name Description
System.String regionName

Name of the region to be removed.

Returns
Type Description
System.Boolean

true if the region was removed from the collection, otherwise false.

Extension Methods

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