Summary
The base abstract class for all Visual Source Safe Tasks.
Provides the core attributes, and functionality for opening an item
in a Visual Source Safe database.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .SourceSafe - Base Types
-
- Task
- Derived Types
graph BT
Type-->Base0["Task"]
Type["BaseTask"]
class Type type-node
Derived0["CheckinTask"]-->Type
click Derived0 "/api/NAnt.Contrib.Tasks.SourceSafe/CheckinTask"
Derived1["UndoCheckoutTask"]-->Type
click Derived1 "/api/NAnt.Contrib.Tasks.SourceSafe/UndoCheckoutTask"
Derived2["DeleteTask"]-->Type
click Derived2 "/api/NAnt.Contrib.Tasks.SourceSafe/DeleteTask"
Derived3["CheckoutTask"]-->Type
click Derived3 "/api/NAnt.Contrib.Tasks.SourceSafe/CheckoutTask"
Derived4["AddTask"]-->Type
click Derived4 "/api/NAnt.Contrib.Tasks.SourceSafe/AddTask"
Derived5["GetTask"]-->Type
click Derived5 "/api/NAnt.Contrib.Tasks.SourceSafe/GetTask"
Derived6["LabelTask"]-->Type
click Derived6 "/api/NAnt.Contrib.Tasks.SourceSafe/LabelTask"
Derived7["History"]-->Type
click Derived7 "/api/NAnt.Contrib.Tasks.SourceSafe/History"
Derived8["DiffTask"]-->Type
click Derived8 "/api/NAnt.Contrib.Tasks.SourceSafe/DiffTask"
Syntax
public abstract class BaseTask : Task
Fields
Name | Constant Value | Summary |
---|---|---|
RecursiveFlag | 24576 |
static
|
Properties
Name | Value | Summary |
---|---|---|
Database | VSSDatabase | |
DBPath | FileInfo |
The path to the folder that contains "srcsafe.ini".
|
Item | IVSSItem | |
Login | string |
The name of the user needed to access the Visual SourceSafe database.
When no
NAnt.Contrib.Tasks.SourceSafe.BaseTask.UserName is specified and "Use network
name for automatic user log in" is enabled, then the current
Windows username will be used to log in.
|
Password | string |
The password to use to login to the SourceSafe database.
|
Path | string |
The Visual SourceSafe project or file path you wish the perform the
action on (starting with "$/").
|
UserName | string |
The name of the user needed to access the Visual SourceSafe database.
When no
NAnt.Contrib.Tasks.SourceSafe.BaseTask.UserName is specified and "Use network
name for automatic user log in" is enabled for the Visual SourceSafe
database, then the current Windows username will be used to log in.
|
Version | string |
A version of the path to reference. Accepts multiple forms,
including the label, version number, or date of the version.
If omitted, the latest version is used.
|
Methods
Name | Value | Summary |
---|---|---|
Get |
int |
Gets the
SourceSafeTypeLib.VSSFlags value corresponding with the
specified NAnt.Contrib.Tasks.SourceSafe.FileTimestamp .
|
Open |
void |
Opens the Source Safe database and sets the reference to the specified
item and version.
|