Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Repository<T> Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Contains the objects of active elements, such asJob and RemoteRunspaceInfo objects. This class is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)


public abstract class Repository<T>
where T : class

Type Parameters

T

The type of the active element objects.

NameDescription
System_CAPS_protmethodRepository<T>(String)

Initializes a new instance of the Repository<T> class. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodAdd(T)

Adds an item to the repository. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetItem(Guid)

Returns the specified item. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetItems()

Returns the items in the repository.

System_CAPS_protmethodGetKey(T)

When overridden in a derived class, returns a key for the specified item. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(T)

Removes an item from the repository. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: