EndpointMetadataComparer.IComparer<Endpoint>.Compare 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
virtual int System.Collections.Generic.IComparer<Microsoft.AspNetCore.Http.Endpoint>.Compare(Microsoft::AspNetCore::Http::Endpoint ^ x, Microsoft::AspNetCore::Http::Endpoint ^ y) = System::Collections::Generic::IComparer<Microsoft::AspNetCore::Http::Endpoint ^>::Compare;
int IComparer<Endpoint>.Compare (Microsoft.AspNetCore.Http.Endpoint x, Microsoft.AspNetCore.Http.Endpoint y);
int IComparer<Endpoint>.Compare (Microsoft.AspNetCore.Http.Endpoint? x, Microsoft.AspNetCore.Http.Endpoint? y);
abstract member System.Collections.Generic.IComparer<Microsoft.AspNetCore.Http.Endpoint>.Compare : Microsoft.AspNetCore.Http.Endpoint * Microsoft.AspNetCore.Http.Endpoint -> int
override this.System.Collections.Generic.IComparer<Microsoft.AspNetCore.Http.Endpoint>.Compare : Microsoft.AspNetCore.Http.Endpoint * Microsoft.AspNetCore.Http.Endpoint -> int
Function Compare (x As Endpoint, y As Endpoint) As Integer Implements IComparer(Of Endpoint).Compare
参数
- x
- Endpoint
- y
- Endpoint