Class ReadOnlyModuleCollection
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
ICompositeModuleThe ICompositeModule containing this collection.
subModules
ILisrtModule[]ILisrtModules which will be added while construction.
Exceptions
- ArgumentNullException
Thrown when
module
orsubModules
is null.
Properties
IsReadOnly
Gets a value indicating whether the collection is read only. Returns always true.
public override bool IsReadOnly { get; }