Поделиться через


MergeProvider Class

The merge provider class used as the default tool when no other user merge tool is configured

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.DiffMerge.MergeProvider

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl.DiffMerge
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Public Class MergeProvider _
    Implements IToolProvider
public class MergeProvider : IToolProvider
public ref class MergeProvider : IToolProvider
type MergeProvider =  
    class 
        interface IToolProvider 
    end
public class MergeProvider implements IToolProvider

The MergeProvider type exposes the following members.

Constructors

  Name Description
Public method MergeProvider

Top

Properties

  Name Description
Public property CanOperateOnInMemoryFiles Merge tool cannot operate on in memory files
Public property Extension The extension supported by this tool
Public property Operation The operation supprted by this tool

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute The execute command. This command will display VS and execute the merge in case it was called from tf.exe otherwise It will use the cached DTE object to run.
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 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 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.VisualStudio.TeamFoundation.VersionControl.DiffMerge Namespace