Delen via


CatalogRuleValidationUtility Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.CatalogRuleValidationUtility

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Class CatalogRuleValidationUtility
public class CatalogRuleValidationUtility
public ref class CatalogRuleValidationUtility
type CatalogRuleValidationUtility =  class end
public class CatalogRuleValidationUtility

The CatalogRuleValidationUtility type exposes the following members.

Constructors

  Name Description
Public method CatalogRuleValidationUtility

Top

Methods

  Name Description
Public method CheckDeleteConstraints Throws if the delete constraints were violated.
Public method CheckDependenciesConstraints Throws if the supplied dependency doesn't exist, isn't of the right type or will be deleted.
Public method CheckExclusiveNodeReference Will throw if this node is not the exclusive reference for this resource under the given path.
Public method CheckExclusiveTypePerParentExistence Will throw if this is not the only node of the given type under its parent if the parent is of the supplied type.
Public method CheckExclusiveTypePerRootExistence Will throw if this is not the only node of the given type under the provided catalog root path.
Public method CheckForDuplicatePropertyValues Checks to make sure the resource is the only resource of its type that has the given property key and value underneath pathSpec.
Public method CheckForTypeAndPathCollision Checks to see if there is a collision of types for the supplied singleton node and the list of other nodes.
Public method CheckPropertyConstraints Throws if this resource doesn't have the specified property.
Public method CheckServiceReferenceConstraints Throws if this resource doesn't have the specified service reference with the specified type.
Public method DetermineAllNodeReferences Returns all of the node references for the given resource.
Public method DeterminePathAfterMoves Determines what the path will be after the moves are applied.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindParent Finds the parent of the provided node after all of the moves and deletes are applied.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResourceDeletedOrMovedOutOfScope Checks to see if a resource has been deleted or moved outside of the provided scope.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnderPathScope Returns true if the itemPath is under the pathScope.
Public method WillBeDeleted(TeamFoundationRequestContext, CatalogNode, String%) Returns true if this path will be deleted by looking at all of its parents.
Public method WillBeDeleted(TeamFoundationRequestContext, CatalogResource, List<String>%) Returns true if this resource will be deleted by looking at all of its referencing nodes.
Public method WillBeDeletedHelper

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Server.Core Namespace