![]() |
AcUtils
A high performance abstraction layer for AccuRev
|
A lock object that defines the attributes of an AccuRev lock: The stream name the lock is on and manner (from, to, all), the principal name and type it applies to, and how it's applied (except-for, only-for). More...

Public Member Functions | |
| string | ToString (string format, IFormatProvider provider) |
| The ToString implementation. More... | |
Equality comparison | |
| bool | Equals (AcLock other) |
| IEquatable implementation to determine the equality of instances of type AcLock. Uses stream name the lock is on and manner (from, to, all) to compare instances. More... | |
| override bool | Equals (object other) |
| Overridden to determine equality. More... | |
| override int | GetHashCode () |
| Override appropriate for type AcLock. More... | |
Internal Functions | |
| AcLock () | |
| Constructor used during AcLocks list construction. It is called internally and not by user code. More... | |
Properties | |
| LockKind | Kind [get, set] |
| Kind of AccuRev lock: from, to, or all. More... | |
| string | Name [get, set] |
| Name of stream the lock applies to. More... | |
| PrinType | Type [get, set] |
| Whether the lock is for a user or group. More... | |
| string | ExceptFor [get, set] |
| Lock applies to all except this principal. More... | |
| string | OnlyFor [get, set] |
| Lock applies only to this principal. More... | |
| string | Comment [get, set] |
| Comment given to the lock. More... | |
Order comparison | |
| int | CompareTo (AcLock other) |
| Generic IComparable implementation (default) for comparing AcLock objects to sort by LockKind (descending) then stream name. More... | |
| int IComparable. | CompareTo (object other) |
| Pre-generic interface implementation for code using reflection. More... | |
A lock object that defines the attributes of an AccuRev lock: The stream name the lock is on and manner (from, to, all), the principal name and type it applies to, and how it's applied (except-for, only-for).
AcLock objects are instantiated during AcLocks construction.
Definition at line 83 of file AcLocks.cs.
|
inlinepackage |
Constructor used during AcLocks list construction. It is called internally and not by user code.
Definition at line 99 of file AcLocks.cs.
Referenced by AcUtils.AcLock.CompareTo().
|
inline |
Generic IComparable implementation (default) for comparing AcLock objects to sort by LockKind (descending) then stream name.
| other | An AcLock object to compare with this instance. |
Definition at line 154 of file AcLocks.cs.
Referenced by AcUtils.AcLock.CompareTo().
|
inlineprivate |
Pre-generic interface implementation for code using reflection.
| other | An AcLock object to compare with this instance. |
| ArgumentException | thrown if argument is not an AcLock object. |
Definition at line 175 of file AcLocks.cs.
|
inline |
IEquatable implementation to determine the equality of instances of type AcLock. Uses stream name the lock is on and manner (from, to, all) to compare instances.
| other | The AcLock object being compared to this instance. |
Definition at line 110 of file AcLocks.cs.
Referenced by AcUtils.AcLock.Equals().
|
inline |
Overridden to determine equality.
Definition at line 124 of file AcLocks.cs.
|
inline |
Override appropriate for type AcLock.
Definition at line 136 of file AcLocks.cs.
|
inline |
The ToString implementation.
| format | The format specifier to use, e.g. Console.WriteLine(rule.ToString("e")); |
| provider | Allow clients to format output for their own types using ICustomFormatter. |
| FormatException | thrown if an invalid format string is specified. |
G Default when not using a format specifier. K Kind - Kind of AccuRev lock: from, to, or all. N Name - Name of stream the lock applies to. T Type - Whether the lock is for a user or group. E ExceptFor - Lock applies to all except this principal. O OnlyFor - Lock applies only to this principal. C Comment - Comment given to the lock. Definition at line 255 of file AcLocks.cs.
|
getset |
Comment given to the lock.
Definition at line 234 of file AcLocks.cs.
Referenced by AcUtils.AcLocks.initList().
|
getset |
Lock applies to all except this principal.
Definition at line 216 of file AcLocks.cs.
Referenced by AcUtils.AcLocks.initList().
|
getset |
Kind of AccuRev lock: from, to, or all.
Definition at line 189 of file AcLocks.cs.
Referenced by AcUtils.AcLock.CompareTo(), AcUtils.AcLock.GetHashCode(), and AcUtils.AcLocks.initList().
|
getset |
Name of stream the lock applies to.
Definition at line 198 of file AcLocks.cs.
Referenced by AcUtils.AcLock.CompareTo(), AcUtils.AcLock.GetHashCode(), and AcUtils.AcLocks.initList().
|
getset |
Lock applies only to this principal.
Definition at line 225 of file AcLocks.cs.
Referenced by AcUtils.AcLocks.initList().
|
getset |
Whether the lock is for a user or group.
Definition at line 207 of file AcLocks.cs.
Referenced by AcUtils.AcLocks.initList().
1.8.9.1