Class ReadOnlyModuleCollection
Represents a read only ModuleCollection.
Implements
System.Collections.Generic.ICollection<ILisrtModule>
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Loehnert.Lisrt.Modules
Assembly: Loehnert.Lisrt.Modules.dll
Syntax
public class ReadOnlyModuleCollection : ModuleCollection, ILisrtModuleCollection, ICollection<ILisrtModule>, IEnumerable<ILisrtModule>, IEnumerable, INotifyCollectionChanged
Constructors
ReadOnlyModuleCollection(ICompositeModule, ILisrtModule[])
Initializes a new instance of the ReadOnlyModuleCollection class.
Declaration
public ReadOnlyModuleCollection(ICompositeModule module, params ILisrtModule[] subModules)
Parameters
Type | Name | Description |
---|---|---|
ICompositeModule | module | The ICompositeModule containing this collection. |
ILisrtModule[] | subModules | ILisrtModules which will be added while construction. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when |
Properties
IsReadOnly
Gets a value indicating whether the collection is read only. Returns always true.
Declaration
public override bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Implements
System.Collections.Generic.ICollection<T>
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged