Class MimeType.SpecificityComparator<T>
Inheritance
System.Object
MimeType.SpecificityComparator<T>
Assembly: Steeltoe.Common.dll
Syntax
public class SpecificityComparator<T> : IComparer<T> where T : MimeType
Type Parameters
Methods
|
Edit this page
View Source
Compare(T, T)
Declaration
public int Compare(T mimeType1, T mimeType2)
Parameters
Type |
Name |
Description |
T |
mimeType1 |
|
T |
mimeType2 |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
CompareParameters(T, T)
Declaration
protected int CompareParameters(T mimeType1, T mimeType2)
Parameters
Type |
Name |
Description |
T |
mimeType1 |
|
T |
mimeType2 |
|
Returns
Type |
Description |
System.Int32 |
|