C# Class WhiskWork.Core.WorkflowRepositoryExtensions

Datei anzeigen Open project: jorn-ola-birkeland/WhiskWork

Public Methods

Method Description
GetLeafStep ( this repository, WorkStep workStep ) : WorkStep
GetLeafStep ( this repository, string path ) : WorkStep
GetNextOrdinal ( this repository, WorkItem workItem ) : int
GetWorkItemClasses ( this repository, WorkStep workStep ) : IEnumerable
GetWorkItemsRecursively ( this workflowRepository, WorkStep workStep ) : IEnumerable
IsChildOfExpandedWorkItem ( this workflowRepository, WorkItem item ) : bool
IsChildOfParallelledWorkItem ( this repository, WorkItem workItem ) : bool
IsChildOfParallelledWorkItem ( this repository, WorkItem workItem, WorkItem &parent ) : bool
IsDone ( this workflowRepository, WorkItem item ) : bool
IsExpandLockedWorkItem ( this repository, WorkItem item ) : bool
IsExpandStep ( this repository, WorkStep step ) : bool
IsInExpandStep ( this workflow, WorkItem workItem ) : bool
IsInExpandStep ( this repository, WorkItem workItem, WorkStep &expandStep ) : bool
IsLeafStep ( this repository, WorkStep step ) : bool
IsMergeableParallelledChild ( this repository, WorkItem item, WorkStep toStep ) : bool
IsParallelLockedWorkItem ( this repository, WorkItem workItem ) : bool
IsParallelStep ( this repository, WorkStep step ) : bool
IsParallelStep ( this repository, string path ) : bool
IsRoot ( this repository, string path ) : bool
IsValidWorkStepForWorkItem ( this repository, WorkItem item, WorkStep workStep ) : bool
IsWithinExpandStep ( this repository, WorkStep workStep ) : bool
IsWithinExpandStep ( this repository, WorkStep workStep, WorkStep &expandStep ) : bool
IsWithinParallelStep ( this repository, WorkStep workStep ) : bool
IsWithinParallelStep ( this repository, WorkStep workStep, WorkStep &parallelStepRoot ) : bool
IsWithinTransientStep ( this repository, WorkStep workStep ) : bool
IsWithinTransientStep ( this repository, WorkStep workStep, WorkStep &transientStep ) : bool
TryLocateWorkItem ( this repository, string id, WorkItem &item ) : bool

Private Methods

Method Description
TryLocateFirstAncestorStepOfType ( this repository, WorkStep workStep, WorkStepType stepType, WorkStep &ancestorStep ) : bool

Method Details

GetLeafStep() public static method

public static GetLeafStep ( this repository, WorkStep workStep ) : WorkStep
repository this
workStep WorkStep
return WorkStep

GetLeafStep() public static method

public static GetLeafStep ( this repository, string path ) : WorkStep
repository this
path string
return WorkStep

GetNextOrdinal() public static method

public static GetNextOrdinal ( this repository, WorkItem workItem ) : int
repository this
workItem WorkItem
return int

GetWorkItemClasses() public static method

public static GetWorkItemClasses ( this repository, WorkStep workStep ) : IEnumerable
repository this
workStep WorkStep
return IEnumerable

GetWorkItemsRecursively() public static method

public static GetWorkItemsRecursively ( this workflowRepository, WorkStep workStep ) : IEnumerable
workflowRepository this
workStep WorkStep
return IEnumerable

IsChildOfExpandedWorkItem() public static method

public static IsChildOfExpandedWorkItem ( this workflowRepository, WorkItem item ) : bool
workflowRepository this
item WorkItem
return bool

IsChildOfParallelledWorkItem() public static method

public static IsChildOfParallelledWorkItem ( this repository, WorkItem workItem ) : bool
repository this
workItem WorkItem
return bool

IsChildOfParallelledWorkItem() public static method

public static IsChildOfParallelledWorkItem ( this repository, WorkItem workItem, WorkItem &parent ) : bool
repository this
workItem WorkItem
parent WorkItem
return bool

IsDone() public static method

public static IsDone ( this workflowRepository, WorkItem item ) : bool
workflowRepository this
item WorkItem
return bool

IsExpandLockedWorkItem() public static method

public static IsExpandLockedWorkItem ( this repository, WorkItem item ) : bool
repository this
item WorkItem
return bool

IsExpandStep() public static method

public static IsExpandStep ( this repository, WorkStep step ) : bool
repository this
step WorkStep
return bool

IsInExpandStep() public static method

public static IsInExpandStep ( this workflow, WorkItem workItem ) : bool
workflow this
workItem WorkItem
return bool

IsInExpandStep() public static method

public static IsInExpandStep ( this repository, WorkItem workItem, WorkStep &expandStep ) : bool
repository this
workItem WorkItem
expandStep WorkStep
return bool

IsLeafStep() public static method

public static IsLeafStep ( this repository, WorkStep step ) : bool
repository this
step WorkStep
return bool

IsMergeableParallelledChild() public static method

public static IsMergeableParallelledChild ( this repository, WorkItem item, WorkStep toStep ) : bool
repository this
item WorkItem
toStep WorkStep
return bool

IsParallelLockedWorkItem() public static method

public static IsParallelLockedWorkItem ( this repository, WorkItem workItem ) : bool
repository this
workItem WorkItem
return bool

IsParallelStep() public static method

public static IsParallelStep ( this repository, WorkStep step ) : bool
repository this
step WorkStep
return bool

IsParallelStep() public static method

public static IsParallelStep ( this repository, string path ) : bool
repository this
path string
return bool

IsRoot() public static method

public static IsRoot ( this repository, string path ) : bool
repository this
path string
return bool

IsValidWorkStepForWorkItem() public static method

public static IsValidWorkStepForWorkItem ( this repository, WorkItem item, WorkStep workStep ) : bool
repository this
item WorkItem
workStep WorkStep
return bool

IsWithinExpandStep() public static method

public static IsWithinExpandStep ( this repository, WorkStep workStep ) : bool
repository this
workStep WorkStep
return bool

IsWithinExpandStep() public static method

public static IsWithinExpandStep ( this repository, WorkStep workStep, WorkStep &expandStep ) : bool
repository this
workStep WorkStep
expandStep WorkStep
return bool

IsWithinParallelStep() public static method

public static IsWithinParallelStep ( this repository, WorkStep workStep ) : bool
repository this
workStep WorkStep
return bool

IsWithinParallelStep() public static method

public static IsWithinParallelStep ( this repository, WorkStep workStep, WorkStep &parallelStepRoot ) : bool
repository this
workStep WorkStep
parallelStepRoot WorkStep
return bool

IsWithinTransientStep() public static method

public static IsWithinTransientStep ( this repository, WorkStep workStep ) : bool
repository this
workStep WorkStep
return bool

IsWithinTransientStep() public static method

public static IsWithinTransientStep ( this repository, WorkStep workStep, WorkStep &transientStep ) : bool
repository this
workStep WorkStep
transientStep WorkStep
return bool

TryLocateWorkItem() public static method

public static TryLocateWorkItem ( this repository, string id, WorkItem &item ) : bool
repository this
id string
item WorkItem
return bool