ServiceDiscoveryOptions.ApplyAllowedSchemes Method

Definition

Filters the specified URI schemes to include only those that are applicable, based on the current settings.

public:
 System::Collections::Generic::IReadOnlyList<System::String ^> ^ ApplyAllowedSchemes(System::Collections::Generic::IReadOnlyList<System::String ^> ^ requestedSchemes);
public System.Collections.Generic.IReadOnlyList<string> ApplyAllowedSchemes(System.Collections.Generic.IReadOnlyList<string> requestedSchemes);
member this.ApplyAllowedSchemes : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<string>
Public Function ApplyAllowedSchemes (requestedSchemes As IReadOnlyList(Of String)) As IReadOnlyList(Of String)

Parameters

requestedSchemes
IReadOnlyList<String>

The URI schemes to be evaluated against the allowed schemes.

Returns

The URI schemes that are applicable. If no schemes are requested, all allowed schemes are returned. If all schemes are allowed, only the requested schemes are returned. Otherwise, the intersection of requested and allowed schemes is returned.

Applies to