This documentation is archived and is not being maintained.

CatalogRuleValidationUtility Class

Visual Studio 2013

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

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

'Declaration
Public Class CatalogRuleValidationUtility

The CatalogRuleValidationUtility type exposes the following members.

  NameDescription
Public methodCheckDeleteConstraintsThrows if the delete constraints were violated.
Public methodCheckDependenciesConstraintsThrows if the supplied dependency doesn't exist, isn't of the right type or will be deleted.
Public methodCheckExclusiveNodeReferenceWill throw if this node is not the exclusive reference for this resource under the given path.
Public methodCheckExclusiveTypePerParentExistenceWill throw if this is not the only node of the given type under its parent if the parent is of the supplied type.
Public methodCheckExclusiveTypePerRootExistenceWill throw if this is not the only node of the given type under the provided catalog root path.
Public methodCheckForDuplicatePropertyValuesChecks to make sure the resource is the only resource of its type that has the given property key and value underneath pathSpec.
Public methodCheckForTypeAndPathCollisionChecks to see if there is a collision of types for the supplied singleton node and the list of other nodes.
Public methodCheckPropertyConstraintsThrows if this resource doesn't have the specified property.
Public methodCheckServiceReferenceConstraintsThrows if this resource doesn't have the specified service reference with the specified type.
Public methodDetermineAllNodeReferencesReturns all of the node references for the given resource.
Public methodDeterminePathAfterMovesDetermines what the path will be after the moves are applied.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFindParentFinds the parent of the provided node after all of the moves and deletes are applied.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodResourceDeletedOrMovedOutOfScopeChecks to see if a resource has been deleted or moved outside of the provided scope.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUnderPathScopeReturns true if the itemPath is under the pathScope.
Public methodWillBeDeleted(TeamFoundationRequestContext, CatalogNode, String)Returns true if this path will be deleted by looking at all of its parents.
Public methodWillBeDeleted(TeamFoundationRequestContext, CatalogResource, List(Of String))Returns true if this resource will be deleted by looking at all of its referencing nodes.
Public methodWillBeDeletedHelper
Top

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