C# Class Dev2.Workspaces.Workspace

Show file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
Equals ( IWorkspace other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Update ( IWorkspaceItem workspaceItem, bool isLocalSave, string roles = null ) : void

Performs the IWorkspaceItem.Action on the specified workspace item.

Workspace ( System.Guid workspaceID ) : System

Initializes a new instance of the Workspace class.

Protected Methods

Method Description
Workspace ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Method Description
Copy ( IWorkspace source, IWorkspace destination, IWorkspaceItem workspaceItem, string roles ) : void

Method Details

Equals() public method

public Equals ( IWorkspace other ) : bool
other IWorkspace
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

Update() public method

Performs the IWorkspaceItem.Action on the specified workspace item.
workspaceItem
public Update ( IWorkspaceItem workspaceItem, bool isLocalSave, string roles = null ) : void
workspaceItem IWorkspaceItem The workspace item to be actioned.
isLocalSave bool if set to true [is local save].
roles string The roles.
return void

Workspace() public method

Initializes a new instance of the Workspace class.
public Workspace ( System.Guid workspaceID ) : System
workspaceID System.Guid The id of the workspace.
return System

Workspace() protected method

protected Workspace ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System