Edit

Share via


DefaultMediaMatchingStrategy.IsMatch Method

Definition

public:
 virtual bool IsMatch(System::Collections::Generic::IEnumerable<System::String ^> ^ supportedMediaTypes, System::Collections::Generic::IEnumerable<System::String ^> ^ requestedMediaTypes, System::Collections::Generic::IEqualityComparer<System::String ^> ^ equalityComparer, System::Object ^ matchingContext);
public bool IsMatch (System.Collections.Generic.IEnumerable<string> supportedMediaTypes, System.Collections.Generic.IEnumerable<string> requestedMediaTypes, System.Collections.Generic.IEqualityComparer<string> equalityComparer, object matchingContext);
abstract member IsMatch : seq<string> * seq<string> * System.Collections.Generic.IEqualityComparer<string> * obj -> bool
override this.IsMatch : seq<string> * seq<string> * System.Collections.Generic.IEqualityComparer<string> * obj -> bool
Public Function IsMatch (supportedMediaTypes As IEnumerable(Of String), requestedMediaTypes As IEnumerable(Of String), equalityComparer As IEqualityComparer(Of String), matchingContext As Object) As Boolean

Parameters

supportedMediaTypes
IEnumerable<String>
requestedMediaTypes
IEnumerable<String>
equalityComparer
IEqualityComparer<String>
matchingContext
Object

Returns

Implements

Applies to