C# Class Microsoft.Silverlight.Toolkit.Build.Tasks.Tfs

Show file Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
IsCheckedOut ( string path ) : bool

Determine if a file is checked out.

IsVersionControlled ( string path ) : bool

Determine if a file is version controlled by TFS.

TryCheckout ( string path ) : bool

Try to check out a file.

Private Methods

Method Description
GetWorkspace ( string path ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
IsCheckedOut ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, string path ) : bool
TryCheckout ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, string path ) : bool

Method Details

IsCheckedOut() public static method

Determine if a file is checked out.
public static IsCheckedOut ( string path ) : bool
path string Path to the file.
return bool

IsVersionControlled() public static method

Determine if a file is version controlled by TFS.
public static IsVersionControlled ( string path ) : bool
path string Path to the file.
return bool

TryCheckout() public static method

Try to check out a file.
public static TryCheckout ( string path ) : bool
path string Path to the file.
return bool