Workspace Generic Class

Default base implementation of the IWorkspace interface.

Namespace: Microsoft.Practices.CompositeUI.SmartParts
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public MustInherit Class Workspace(Of TSmartPart, TSmartPartInfo As ISmartPartInfo)
    Implements IWorkspace
'Usage
Dim instance As Workspace(Of TSmartPart, TSmartPartInfo)
public abstract class Workspace<TSmartPart,TSmartPartInfo> : IWorkspace where TSmartPartInfo : ISmartPartInfo
generic<typename TSmartPart, typename TSmartPartInfo> where TSmartPartInfo : ISmartPartInfo
public ref class Workspace abstract : IWorkspace
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.

Remarks

Implements the common behavior for Workspaces, which includes activating the smart part when it is shown, retrieving registered ISmartPartInfo components from the WorkItem, and raising the appropriate events when needed.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.CompositeUI.SmartParts.Workspace
     Microsoft.Practices.CompositeUI.SmartParts.WorkspaceComposer
     Microsoft.Practices.CompositeUI.WinForms.WindowWorkspace

Thread Safety

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

See Also

Reference

Workspace Members
Microsoft.Practices.CompositeUI.SmartParts Namespace