C# Class Dev2.Studio.Deploy.DeployStatsCalculator

Inheritance: IDeployStatsCalculator
Show file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
AddConflictingResources ( Tuple resourceInConflict ) : void

Add items that are found to be in conflicts

CalculateStats ( IEnumerable items, bool>.Dictionary predicates, ObservableCollection stats, int &deployItemCount ) : void

Calculates the stastics from navigation item view models

CheckForNamingConflicts ( List items, DeployNavigationViewModel targetNavViewModel ) : IEnumerable
DeployStatsCalculator ( ) : System
DeploySummaryPredicateExisting ( IExplorerItemModel node, DeployNavigationViewModel targetNavViewModel ) : bool

The predicate used to detemine which resources are going to be overridden

DeploySummaryPredicateNew ( IExplorerItemModel node, IEnvironmentModel targetEnvironment ) : bool

The predicate used to detemine which resources are going to be overridden

SelectForDeployPredicate ( IExplorerItemModel node ) : bool

The predicate used to detemine if an item should be deployed

SelectForDeployPredicateWithTypeAndCategories ( IExplorerItemModel node, ResourceType type, List inclusionCategories, List exclusionCategories ) : bool

The predicate used to detemine if an item should be deployed

Method Details

AddConflictingResources() public method

Add items that are found to be in conflicts
public AddConflictingResources ( Tuple resourceInConflict ) : void
resourceInConflict Tuple
return void

CalculateStats() public method

Calculates the stastics from navigation item view models
public CalculateStats ( IEnumerable items, bool>.Dictionary predicates, ObservableCollection stats, int &deployItemCount ) : void
items IEnumerable
predicates bool>.Dictionary
stats ObservableCollection
deployItemCount int
return void

CheckForNamingConflicts() public method

public CheckForNamingConflicts ( List items, DeployNavigationViewModel targetNavViewModel ) : IEnumerable
items List
targetNavViewModel Dev2.ViewModels.Deploy.DeployNavigationViewModel
return IEnumerable

DeployStatsCalculator() public method

public DeployStatsCalculator ( ) : System
return System

DeploySummaryPredicateExisting() public method

The predicate used to detemine which resources are going to be overridden
public DeploySummaryPredicateExisting ( IExplorerItemModel node, DeployNavigationViewModel targetNavViewModel ) : bool
node IExplorerItemModel
targetNavViewModel Dev2.ViewModels.Deploy.DeployNavigationViewModel
return bool

DeploySummaryPredicateNew() public method

The predicate used to detemine which resources are going to be overridden
public DeploySummaryPredicateNew ( IExplorerItemModel node, IEnvironmentModel targetEnvironment ) : bool
node IExplorerItemModel
targetEnvironment IEnvironmentModel
return bool

SelectForDeployPredicate() public method

The predicate used to detemine if an item should be deployed
public SelectForDeployPredicate ( IExplorerItemModel node ) : bool
node IExplorerItemModel
return bool

SelectForDeployPredicateWithTypeAndCategories() public method

The predicate used to detemine if an item should be deployed
public SelectForDeployPredicateWithTypeAndCategories ( IExplorerItemModel node, ResourceType type, List inclusionCategories, List exclusionCategories ) : bool
node IExplorerItemModel
type ResourceType
inclusionCategories List
exclusionCategories List
return bool