Table of Contents

Class ReadOnlyModuleCollection

Namespace
Loehnert.Lisrt.Modules
Assembly
Loehnert.Lisrt.Modules.dll

Represents a read only ModuleCollection.

public class ReadOnlyModuleCollection : ModuleCollection, ILisrtModuleCollection, ICollection<ILisrtModule>, IEnumerable<ILisrtModule>, IEnumerable, INotifyCollectionChanged
Inheritance
ReadOnlyModuleCollection
Implements
Inherited Members
Extension Methods

Constructors

ReadOnlyModuleCollection(ICompositeModule, params ILisrtModule[])

Initializes a new instance of the ReadOnlyModuleCollection class.

public ReadOnlyModuleCollection(ICompositeModule module, params ILisrtModule[] subModules)

Parameters

module ICompositeModule

The ICompositeModule containing this collection.

subModules ILisrtModule[]

ILisrtModules which will be added while construction.

Exceptions

ArgumentNullException

Thrown when module or subModules is null.

Properties

IsReadOnly

Gets a value indicating whether the collection is read only. Returns always true.

public override bool IsReadOnly { get; }

Property Value

bool