![]() |
AcUtils
A high performance abstraction layer for AccuRev
|
Holds the attributes for an AccuRev user session: principal name, host machine IP address, and length of time logged in. AcSession objects are instantiated during AcSessions construction. More...

Public Member Functions | |
| string | ToString (string format, IFormatProvider provider) |
| The ToString implementation. More... | |
Equality comparison | |
| bool | Equals (AcSession other) |
| IEquatable implementation to determine the equality of instances of type AcSession. Uses AccuRev principal name and IP address of the host machine to compare instances. More... | |
| override bool | Equals (object other) |
| Overridden to determine equality. More... | |
| override int | GetHashCode () |
| Override appropriate for type AcSession. More... | |
Internal Functions | |
| AcSession () | |
| Constructor used during AcSessions list construction. It is called internally and not by user code. More... | |
Properties | |
| string | Name [get, set] |
| User's AccuRev principal name. More... | |
| string | Host [get, set] |
| IP address of the host machine. More... | |
| AcDuration | Duration [get, set] |
| Length of time the user has been logged on. More... | |
Order comparison | |
| int | CompareTo (AcSession other) |
| Generic IComparable implementation (default) for comparing AcSession objects to sort by Duration and then Name. More... | |
| int IComparable. | CompareTo (object other) |
| Pre-generic interface implementation for code using reflection. More... | |
Holds the attributes for an AccuRev user session: principal name, host machine IP address, and length of time logged in. AcSession objects are instantiated during AcSessions construction.
login -n for the service account. Definition at line 33 of file AcSessions.cs.
|
inlinepackage |
Constructor used during AcSessions list construction. It is called internally and not by user code.
Definition at line 44 of file AcSessions.cs.
Referenced by AcUtils.AcSession.CompareTo().
|
inline |
Generic IComparable implementation (default) for comparing AcSession objects to sort by Duration and then Name.
| other | An AcSession object to compare with this instance. |
Definition at line 98 of file AcSessions.cs.
Referenced by AcUtils.AcSession.CompareTo().
|
inlineprivate |
Pre-generic interface implementation for code using reflection.
| other | An AcSession object to compare with this instance. |
| ArgumentException | thrown if argument is not an AcSession object. |
Definition at line 120 of file AcSessions.cs.
|
inline |
IEquatable implementation to determine the equality of instances of type AcSession. Uses AccuRev principal name and IP address of the host machine to compare instances.
| other | The AcSession object being compared to this instance. |
Definition at line 55 of file AcSessions.cs.
Referenced by AcUtils.AcSession.Equals().
|
inline |
Overridden to determine equality.
Definition at line 68 of file AcSessions.cs.
|
inline |
Override appropriate for type AcSession.
Definition at line 80 of file AcSessions.cs.
|
inline |
The ToString implementation.
| format | The format specifier to use, e.g. Console.WriteLine(rule.ToString("n")); |
| 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. N Name - User's AccuRev principal name. H Host - IP address of the host machine. D Duration - Length of time the user has been logged on. Definition at line 173 of file AcSessions.cs.
|
getset |
Length of time the user has been logged on.
Definition at line 153 of file AcSessions.cs.
Referenced by AcUtils.AcSession.CompareTo(), and AcUtils.AcSessions.initAsync().
|
getset |
IP address of the host machine.
Definition at line 143 of file AcSessions.cs.
Referenced by AcUtils.AcSession.GetHashCode(), and AcUtils.AcSessions.initAsync().
|
getset |
User's AccuRev principal name.
Definition at line 134 of file AcSessions.cs.
Referenced by AcUtils.AcSession.CompareTo(), AcUtils.AcSession.GetHashCode(), and AcUtils.AcSessions.initAsync().
1.8.9.1