Claim.DefaultComparer Property

 

Gets an object that can compare two Claim objects for equality.

Namespace:   System.IdentityModel.Claims
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public static IEqualityComparer<Claim> DefaultComparer { get; }

Property Value

Type: System.Collections.Generic.IEqualityComparer<Claim>

A IEqualityComparer<T> interface implementation that compares two Claim objects.

Use the value of the DefaultComparer property to match any of the pre-defined claim types.

.NET Framework
Available since 3.0
Return to top
Show: