Share via


LocalItemExclusionEvaluator Class

An LocalItemExclusionEvaluator is an evaluator for local item exclusions.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.LocalItemExclusionEvaluator

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public NotInheritable Class LocalItemExclusionEvaluator
public sealed class LocalItemExclusionEvaluator
public ref class LocalItemExclusionEvaluator sealed
[<Sealed>]
type LocalItemExclusionEvaluator =  class end
public final class LocalItemExclusionEvaluator

The LocalItemExclusionEvaluator type exposes the following members.

Constructors

  Name Description
Public method LocalItemExclusionEvaluator Create an LocalItemExclusionEvaluator object to evaluate local item exclusions for the provided Workspace. Path parts at or above the start local item will not be checked for exclusions.

Top

Properties

  Name Description
Public property UseOnlyStartLocalItemExclusions If true, ignore files below the start local item will not be processed when evaluating exclusions. The default value for this flag is false.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsExcluded(String) Check the provided local item against the LocalItemExclusionEvaluator to see whether it should be excluded from addition to version control.
Public method IsExcluded(String, Boolean) Check the provided local item against the LocalItemExclusionEvaluator to see whether it should be excluded from addition to version control.
Public method IsExcluded(String, Boolean, String%, String%) Check the provided local item against the LocalItemExclusionEvaluator to see whether it should be excluded from addition to version control. If the item is excluded, the appliedExclusion and ignoreFilePath out parameters will be set to provide additional information about why the item was excluded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.VersionControl.Client Namespace