C# Class SourceControl.Tfs.Factory

Mostra file Open project: daptiv/Malevich

Public Methods

Method Description
GetIBugServer ( string server, string workspace, string workspaceOwner, string user, string passwd ) : IBugServer

Factory for WorkItemStore connections.

GetISourceControl ( string server, string workspace, string workspaceOwner, string user, string passwd, bool getFilesFromShelveSet ) : ISourceControl

Factory for the TFS connector instances.

GetSettings ( ) : SourceControlSettings

Gets the Tfs client settings.

Private Methods

Method Description
AutoDiscoverTfsSettings ( SourceControlSettings settings ) : bool

Autodiscovers TFS client based on the current directory.

Method Details

GetIBugServer() public static method

Factory for WorkItemStore connections.
public static GetIBugServer ( string server, string workspace, string workspaceOwner, string user, string passwd ) : IBugServer
server string The Tfs server.
workspace string The workspace.
workspaceOwner string
user string Perforce user name, can be null.
passwd string Perforce password, can be null.
return IBugServer

GetISourceControl() public static method

Factory for the TFS connector instances.
public static GetISourceControl ( string server, string workspace, string workspaceOwner, string user, string passwd, bool getFilesFromShelveSet ) : ISourceControl
server string The Tfs server.
workspace string The workspace.
workspaceOwner string
user string Perforce user name, can be null.
passwd string Perforce password, can be null.
getFilesFromShelveSet bool If true, the file versions are coming from shelvesets, /// otherwise - from local disk.
return ISourceControl

GetSettings() public static method

Gets the Tfs client settings.
public static GetSettings ( ) : SourceControlSettings
return SourceControl.SourceControlSettings