You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Permission is hereby granted, free of charge, to any person obtaining
10
+
// a copy of this software and associated documentation files (the
11
+
// "Software"), to deal in the Software without restriction, including
12
+
// without limitation the rights to use, copy, modify, merge, publish,
13
+
// distribute, sublicense, and/or sell copies of the Software, and to
14
+
// permit persons to whom the Software is furnished to do so, subject to
15
+
// the following conditions:
16
+
//
17
+
// The above copyright notice and this permission notice shall be
18
+
// included in all copies or substantial portions of the Software.
19
+
//
20
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21
+
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22
+
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23
+
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24
+
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25
+
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26
+
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
+
//
28
+
29
+
#if NET35
30
+
31
+
usingSystem;
32
+
usingSystem.Collections;
33
+
34
+
namespacenet.openstack.Core
35
+
{
36
+
/// <summary>
37
+
/// Supports the structural comparison of collection objects.
38
+
/// </summary>
39
+
publicinterfaceIStructuralComparable{
40
+
/// <summary>
41
+
/// Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order.
42
+
/// </summary>
43
+
/// <param name="other">The object to compare with the current instance.</param>
44
+
/// <param name="comparer">An object that compares members of the current collection object with the corresponding members of <paramref name="other"/>.</param>
45
+
/// <returns>
46
+
/// An integer that indicates the relationship of the current collection object to other, as shown in the following table.
47
+
///
48
+
/// <list type="table">
49
+
/// <listheader>
50
+
/// <term>Return value</term>
51
+
/// <term>Description</term>
52
+
/// </listheader>
53
+
/// <item>
54
+
/// <term>-1</term>
55
+
/// <term>The current instance precedes <paramref name="other"/>.</term>
56
+
/// </item>
57
+
/// <item>
58
+
/// <term>0</term>
59
+
/// <term>The current instance and <paramref name="other"/> are equal.</term>
60
+
/// </item>
61
+
/// <item>
62
+
/// <term>1</term>
63
+
/// <term>The current instance follows <paramref name="other"/>.</term>
64
+
/// </item>
65
+
/// </list>
66
+
/// </returns>
67
+
/// <exception cref="ArgumentException">This instance and <paramref name="other"/> are not the same type.</exception>
0 commit comments