C# Class Dev2.Factory.WorkSurfaceKeyFactory

Used to generate unique keys for every work surface
Mostra file Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
CreateKey ( IContextualResourceModel resourceModel ) : WorkSurfaceKey

Creates the for a specific Contextual Resource

CreateKey ( IDebugState debugState ) : WorkSurfaceKey
CreateKey ( WorkSurfaceContext context ) : WorkSurfaceKey

Create a key which are unique to the entire studio

CreateKey ( WorkSurfaceContext context, System.Guid serverID ) : WorkSurfaceKey

Creates a key used for worksurfaces unique to a specific server

CreateKey ( WorkSurfaceContext context, System.Guid resourceID, System.Guid serverID, System.Guid environmentID = null ) : WorkSurfaceKey

Creates a key for a worksurface that identifies a unique resource

CreateKey ( WorkSurfaceContext context, IContextualResourceModel resource ) : WorkSurfaceKey

Creates a key used for worksurfaces unique to a specific server

Method Details

CreateKey() public static method

Creates the for a specific Contextual Resource
public static CreateKey ( IContextualResourceModel resourceModel ) : WorkSurfaceKey
resourceModel IContextualResourceModel The resource model.
return WorkSurfaceKey

CreateKey() public static method

public static CreateKey ( IDebugState debugState ) : WorkSurfaceKey
debugState IDebugState
return WorkSurfaceKey

CreateKey() public static method

Create a key which are unique to the entire studio
public static CreateKey ( WorkSurfaceContext context ) : WorkSurfaceKey
context WorkSurfaceContext The context.
return WorkSurfaceKey

CreateKey() public static method

Creates a key used for worksurfaces unique to a specific server
public static CreateKey ( WorkSurfaceContext context, System.Guid serverID ) : WorkSurfaceKey
context WorkSurfaceContext The context.
serverID System.Guid The server ID.
return WorkSurfaceKey

CreateKey() public static method

Creates a key for a worksurface that identifies a unique resource
public static CreateKey ( WorkSurfaceContext context, System.Guid resourceID, System.Guid serverID, System.Guid environmentID = null ) : WorkSurfaceKey
context WorkSurfaceContext The context.
resourceID System.Guid The resource ID.
serverID System.Guid The server ID.
environmentID System.Guid The environment ID.
return WorkSurfaceKey

CreateKey() public static method

Creates a key used for worksurfaces unique to a specific server
public static CreateKey ( WorkSurfaceContext context, IContextualResourceModel resource ) : WorkSurfaceKey
context WorkSurfaceContext The context.
resource IContextualResourceModel The resource.
return WorkSurfaceKey