C# Класс Dev2.Studio.Core.Utils.NewWorkflowNames

Used for storing all the used workflow names and getting the next available name
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Add() публичный Метод

Add a used name to the WorkflowNamesHashSet
public Add ( string newWorkflowName ) : bool
newWorkflowName string
Результат bool

Contains() публичный Метод

Check if the HashSet contains the specified name
public Contains ( string nameToCheck ) : bool
nameToCheck string
Результат bool

GetNext() публичный Метод

Gets the next available name to use for createing new workflow
public GetNext ( ) : string
Результат string

NewWorkflowNames() публичный Метод

public NewWorkflowNames ( ) : System
Результат System

Remove() публичный Метод

Remove a name from WorkflowNamesHashSet so i can be reused
public Remove ( string nameToRemove ) : bool
nameToRemove string
Результат bool