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