Craig's Utility Library  4.0 Beta
Utilities.Workflow.Manager.Manager Class Reference

Workflow manager More...

Inheritance diagram for Utilities.Workflow.Manager.Manager:
Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass

Public Member Functions

 Manager (IO.FileSystem.Manager FileManager, IO.Serializers.Manager SerializationManager)
 Initializes a new instance of the Manager class. More...
 
IWorkflow< T > CreateWorkflow< T > (string Name)
 Creates the workflow. More...
 
bool Exists (string Name)
 Determines if a workflow exists More...
 
bool RemoveWorkflow (IWorkflow Workflow)
 
override string ToString ()
 Returns a System.String that represents this instance. More...
 
- Public Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
void Dispose ()
 Dispose function More...
 

Protected Member Functions

override void Dispose (bool Managed)
 Function to override in order to dispose objects More...
 
- Protected Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
 SafeDisposableBaseClass ()
 Construct More...
 

Properties

DateTime LastModified [get]
 Gets the last modified date for the workflows More...
 
IWorkflow this[string Name] [get]
 Gets the IWorkflow with the specified name. More...
 

Detailed Description

Workflow manager

Definition at line 36 of file Manager.cs.

Constructor & Destructor Documentation

Utilities.Workflow.Manager.Manager.Manager ( IO.FileSystem.Manager  FileManager,
IO.Serializers.Manager  SerializationManager 
)

Initializes a new instance of the Manager class.

Parameters
FileManagerThe file manager.
SerializationManagerThe serialization manager.

Definition at line 43 of file Manager.cs.

Member Function Documentation

IWorkflow<T> Utilities.Workflow.Manager.Manager.CreateWorkflow< T > ( string  Name)

Creates the workflow.

Parameters
NameThe name.
Returns
The workflow that is created

Definition at line 98 of file Manager.cs.

override void Utilities.Workflow.Manager.Manager.Dispose ( bool  Managed)
protectedvirtual

Function to override in order to dispose objects

Parameters
ManagedIf true, managed and unmanaged objects should be disposed. Otherwise unmanaged objects only.

Implements Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass.

Definition at line 143 of file Manager.cs.

bool Utilities.Workflow.Manager.Manager.Exists ( string  Name)

Determines if a workflow exists

Parameters
NameThe name of a workflow
Returns
True if it exists, false otherwise

summary> Removes the workflow.

Parameters
WorkflowThe workflow.
Returns
True if it is removed, false otherwise

Definition at line 113 of file Manager.cs.

bool Utilities.Workflow.Manager.Manager.RemoveWorkflow ( IWorkflow  Workflow)

Definition at line 123 of file Manager.cs.

override string Utilities.Workflow.Manager.Manager.ToString ( )

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.

Definition at line 132 of file Manager.cs.

Property Documentation

DateTime Utilities.Workflow.Manager.Manager.LastModified
get

Gets the last modified date for the workflows

The last modified date for the workflows

Definition at line 59 of file Manager.cs.

IWorkflow Utilities.Workflow.Manager.Manager.this[string Name]
get

Gets the IWorkflow with the specified name.

The IWorkflow.

Parameters
NameThe name.
Returns
The workflow if it exists, null otherwise

Definition at line 86 of file Manager.cs.


The documentation for this class was generated from the following file: