Claim.DefaultComparer 属性

定义

获取一个对象,它可以比较两个 Claim 对象是否相等。

public:
 static property System::Collections::Generic::IEqualityComparer<System::IdentityModel::Claims::Claim ^> ^ DefaultComparer { System::Collections::Generic::IEqualityComparer<System::IdentityModel::Claims::Claim ^> ^ get(); };
public static System.Collections.Generic.IEqualityComparer<System.IdentityModel.Claims.Claim> DefaultComparer { get; }
static member DefaultComparer : System.Collections.Generic.IEqualityComparer<System.IdentityModel.Claims.Claim>
Public Shared ReadOnly Property DefaultComparer As IEqualityComparer(Of Claim)

属性值

一个比较两个 IEqualityComparer<T> 对象的 Claim 接口实现。

注解

使用 DefaultComparer 属性的值可匹配任何预定义的声明类型。

适用于