C# Класс Dev2.Studio.Deploy.DeployStatsCalculator

Наследование: IDeployStatsCalculator
Показать файл Открыть проект Примеры использования класса

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

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

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

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

Add items that are found to be in conflicts
public AddConflictingResources ( Tuple resourceInConflict ) : void
resourceInConflict Tuple
Результат void

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

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
Результат void

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

public CheckForNamingConflicts ( List items, DeployNavigationViewModel targetNavViewModel ) : IEnumerable
items List
targetNavViewModel Dev2.ViewModels.Deploy.DeployNavigationViewModel
Результат IEnumerable

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

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

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

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
Результат bool

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

The predicate used to detemine which resources are going to be overridden
public DeploySummaryPredicateNew ( IExplorerItemModel node, IEnvironmentModel targetEnvironment ) : bool
node IExplorerItemModel
targetEnvironment IEnvironmentModel
Результат bool

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

The predicate used to detemine if an item should be deployed
public SelectForDeployPredicate ( IExplorerItemModel node ) : bool
node IExplorerItemModel
Результат bool

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

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
Результат bool