DefaultMediaMatchingStrategy.IsMatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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