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

NamespaceCollection.T. Class 1:

NamespaceCollection.T.

Initializes a new instance of the NamespaceCollection.T. class.

Properties

 

Name

Description

NamespaceCollection.T. Class 2:

AllTypes

Gets all types included in all namespaces.

NamespaceCollection.T. Class 3:

Count

Gets the number of elements contained in the ICollection.T..

NamespaceCollection.T. Class 4:

InnerAllTypes

Dictionary FullPath -> IDataType

NamespaceCollection.T. Class 5:

IsReadOnly

Gets a value indicating whether the ICollection.T. is read-only.

NamespaceCollection.T. Class 6:

Item.Int32.

Gets or sets the element at the specified index.

NamespaceCollection.T. Class 7:

Item.String.

Gets or sets the element at the specified index.

Methods

 

Name

Description

NamespaceCollection.T. Class 8:

Add

Adds an item to the ICollection.T..

NamespaceCollection.T. Class 9:

Clear

Removes all items from the ICollection.T..

NamespaceCollection.T. Class 10:

Contains

Determines whether the ICollection.T. contains a specific value.

NamespaceCollection.T. Class 11:

ContainsNamespace

Determines whether the specified name contains namespace.

NamespaceCollection.T. Class 12:

CopyTo

Copies to.

NamespaceCollection.T. Class 13:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

NamespaceCollection.T. Class 14:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

NamespaceCollection.T. Class 15:

GetEnumerator

Returns an enumerator that iterates through the collection.

NamespaceCollection.T. Class 16:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

NamespaceCollection.T. Class 17:

GetType

Gets the Type of the current instance. (Inherited from Object.)

NamespaceCollection.T. Class 18:

IndexOf

Determines the index of a specific item in the IList.T..

NamespaceCollection.T. Class 19:

Insert

Inserts an item to the IList.T. at the specified index.

NamespaceCollection.T. Class 20:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

NamespaceCollection.T. Class 21:

Remove

Removes the first occurrence of a specific object from the ICollection.T..

NamespaceCollection.T. Class 22:

RemoveAt

Removes the IList.T. item at the specified index.

NamespaceCollection.T. Class 23:

ToString

Returns a string that represents the current object. (Inherited from Object.)

NamespaceCollection.T. Class 24:

TryGetNamespace

Tries to get the namespace object

NamespaceCollection.T. Class 25:

TryGetType

Tries to get the specified type.

NamespaceCollection.T. Class 26:

TryGetTypeByFullName

Tries to get the data type by full name.

Reference

TwinCAT.TypeSystem.Generic Namespace