NamespaceCollection.T. Class
Generic class for Namespace collections
Inheritance Hierarchy
System.Object
TwinCAT.TypeSystem.Generic.NamespaceCollection.T.
Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public class NamespaceCollection<T> : IList<INamespace<T>>,
ICollection<INamespace<T>>, IEnumerable<INamespace<T>>, IEnumerable
where T : class, IDataType
Type Parameters
T |
The NamespaceCollection.T. type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the NamespaceCollection.T. class. |
Properties
|
Name |
Description |
---|---|---|
|
Gets all types included in all namespaces. | |
|
Gets the number of elements contained in the ICollection.T.. | |
|
Dictionary FullPath -> IDataType | |
|
Gets a value indicating whether the ICollection.T. is read-only. | |
|
Gets or sets the element at the specified index. | |
|
Gets or sets the element at the specified index. |
Methods
|
Name |
Description |
---|---|---|
|
Adds an item to the ICollection.T.. | |
|
Removes all items from the ICollection.T.. | |
|
Determines whether the ICollection.T. contains a specific value. | |
|
Determines whether the specified name contains namespace. | |
|
Copies to. | |
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Returns an enumerator that iterates through the collection. | |
|
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
Determines the index of a specific item in the IList.T.. | |
|
Inserts an item to the IList.T. at the specified index. | |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Removes the first occurrence of a specific object from the ICollection.T.. | |
|
Removes the IList.T. item at the specified index. | |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
Tries to get the namespace object | |
|
Tries to get the specified type. | |
|
Tries to get the data type by full name. |