C# Class Dev2.Studio.Core.Utils.NewWorkflowNames

Used for storing all the used workflow names and getting the next available name
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
Add ( string newWorkflowName ) : bool

Add a used name to the WorkflowNamesHashSet

Contains ( string nameToCheck ) : bool

Check if the HashSet contains the specified name

GetNext ( ) : string

Gets the next available name to use for createing new workflow

NewWorkflowNames ( ) : System
Remove ( string nameToRemove ) : bool

Remove a name from WorkflowNamesHashSet so i can be reused

Method Details

Add() public méthode

Add a used name to the WorkflowNamesHashSet
public Add ( string newWorkflowName ) : bool
newWorkflowName string
Résultat bool

Contains() public méthode

Check if the HashSet contains the specified name
public Contains ( string nameToCheck ) : bool
nameToCheck string
Résultat bool

GetNext() public méthode

Gets the next available name to use for createing new workflow
public GetNext ( ) : string
Résultat string

NewWorkflowNames() public méthode

public NewWorkflowNames ( ) : System
Résultat System

Remove() public méthode

Remove a name from WorkflowNamesHashSet so i can be reused
public Remove ( string nameToRemove ) : bool
nameToRemove string
Résultat bool