AcUtils
A high performance abstraction layer for AccuRev
|
A property object that defines the attributes of an AccuRev property assigned to a stream or principal by the setproperty
command.
More...
Public Member Functions | |
string | ToString (string format, IFormatProvider provider) |
The ToString implementation. More... | |
Equality comparison | |
bool | Equals (AcProperty other) |
IEquatable implementation to determine the equality of instances of type AcProperty. Uses Kind, depot (when Kind is stream, otherwise null), stream or principal ID number, and property name to compare instances. More... | |
override bool | Equals (object other) |
Overridden to determine equality. More... | |
override int | GetHashCode () |
Override appropriate for type AcProperty. More... | |
Internal Functions | |
AcProperty () | |
Constructor used during AcProperties list construction. It is called internally and not by user code. More... | |
Properties | |
PropKind | Kind [get, set] |
Kind of property, either principal or stream. More... | |
AcDepot | Depot [get, set] |
Depot when Kind is stream, otherwise null. More... | |
int | ID [get, set] |
Stream or principal ID number this property is assigned to. More... | |
string | Name [get, set] |
Stream or principal name this property is assigned to. More... | |
string | PropName [get, set] |
Property name. More... | |
string | PropValue [get, set] |
Property value. More... | |
Order comparison | |
int | CompareTo (AcProperty other) |
Generic IComparable implementation (default) for comparing AcProperty objects. Sorts by [[depot, stream] | principal] name then property name. More... | |
int IComparable. | CompareTo (object other) |
Pre-generic interface implementation for code using reflection. More... | |
A property object that defines the attributes of an AccuRev property assigned to a stream or principal by the setproperty
command.
Definition at line 45 of file AcProperties.cs.
|
inlinepackage |
Constructor used during AcProperties list construction. It is called internally and not by user code.
Definition at line 59 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.CompareTo().
|
inline |
Generic IComparable implementation (default) for comparing AcProperty objects. Sorts by [[depot, stream] | principal] name then property name.
other | An AcProperty object to compare with this instance. |
Definition at line 115 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.CompareTo().
|
inlineprivate |
Pre-generic interface implementation for code using reflection.
other | An AcProperty object to compare with this instance. |
ArgumentException | thrown if argument is not an AcProperty object. |
Definition at line 139 of file AcProperties.cs.
|
inline |
IEquatable implementation to determine the equality of instances of type AcProperty. Uses Kind, depot (when Kind is stream, otherwise null), stream or principal ID number, and property name to compare instances.
other | The AcProperty object being compared to this instance. |
Definition at line 71 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.Equals().
|
inline |
Overridden to determine equality.
Definition at line 84 of file AcProperties.cs.
|
inline |
Override appropriate for type AcProperty.
Definition at line 97 of file AcProperties.cs.
|
inline |
The ToString implementation.
format | The format specifier to use, e.g. Console.WriteLine(stream.ToString("pn")); |
provider | Allow clients to format output for their own types using ICustomFormatter. |
FormatException | thrown if an invalid format string is specified. |
G
Depot stream/principal name along with the name-value property pair (default when not using a format specifier). K
Kind. D
Depot name when Kind is a stream, otherwise empty. I
Stream or principal ID number this property is assigned to. N
Stream or principal name this property is assigned to. PN
Property name. PV
Property value. Definition at line 219 of file AcProperties.cs.
|
getset |
Depot when Kind is stream, otherwise null.
Definition at line 162 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.CompareTo(), and AcUtils.AcProperty.GetHashCode().
|
getset |
Stream or principal ID number this property is assigned to.
Definition at line 171 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.GetHashCode().
|
getset |
Kind of property, either principal or stream.
Definition at line 153 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.GetHashCode().
|
getset |
Stream or principal name this property is assigned to.
Definition at line 180 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.CompareTo().
|
getset |
Property name.
Definition at line 189 of file AcProperties.cs.
Referenced by AcUtils.AcProperty.CompareTo(), and AcUtils.AcProperty.GetHashCode().
|
getset |
Property value.
Definition at line 198 of file AcProperties.cs.