PVCSCommandArgumentPosition Enum

Summary

Defines possible values for specifying positions for PCLI command arguments and arguments to PCLI itself.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.PVCS
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["PVCSCommandArgumentPosition"] class Type type-node

Syntax

public enum PVCSCommandArgumentPosition

Remarks

Members of this enumeration are used to specify relative positions of PCLI command arguments. All arguments given a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.End will appear after arguments with a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.Middle or NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.Start. Similarly, arguments with a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.Middle will appear after those with a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.Start but before those with a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.End.

No order is guaranteed for arguments with the same position. That is, if two arguments have a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.Start, it is not possible to specify which one is output to the command line first.

The NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.BeforePCLICommand member is special in that it ensures the argument will appear before the PCLI command name. This is useful when the argument is to PCLI itself, not the PCLI command.

Fields

Name Constant Value Summary
BeforePCLICommand 0
Arguments that should appear before the PCLI command argument. This is useful for arguments to PCLI itself (as opposed to the PCLI command).
static
End 3
PCLI command arguments that should appear after other PCLI command arguments.
static
Middle 2
PCLI command arguments that should appear before other arguments with a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.End but after other arguments with a position of NAnt.Contrib.Tasks.PVCS.PVCSCommandArgumentPosition.Start.
static
Start 1
PCLI command arguments that should appear before other PCLI command arguments.
static