C# Class Dev2.Runtime.ESB.Control.ServiceLocator

Used to locate a service to execute ;)
Exibir arquivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
FindService ( System.Guid serviceID, System.Guid workspaceID ) : DynamicService

Finds the service by ID

FindService ( string serviceName, System.Guid workspaceID ) : DynamicService

Finds the service by name

FindSourceByName ( string sourceName, System.Guid workspaceID ) : Source

Finds the source by name

Method Details

FindService() public method

Finds the service by ID
Empty or null service passed in Null workspace
public FindService ( System.Guid serviceID, System.Guid workspaceID ) : DynamicService
serviceID System.Guid ID of the service.
workspaceID System.Guid The workspace ID.
return Dev2.DynamicServices.DynamicService

FindService() public method

Finds the service by name
Empty or null service passed in Null workspace
public FindService ( string serviceName, System.Guid workspaceID ) : DynamicService
serviceName string Name of the service.
workspaceID System.Guid The workspace ID.
return Dev2.DynamicServices.DynamicService

FindSourceByName() public method

Finds the source by name
Empty or null service passed in Null workspace
public FindSourceByName ( string sourceName, System.Guid workspaceID ) : Source
sourceName string Name of the source.
workspaceID System.Guid The workspace ID.
return Dev2.DynamicServices.Source