AngleSharp.Io.Network.FileRequester.SupportsProtocol C# (CSharp) Method

SupportsProtocol() public method

Checks if the given protocol is supported.
public SupportsProtocol ( String protocol ) : System.Boolean
protocol String The protocol to check for, e.g. file.
return System.Boolean
        public Boolean SupportsProtocol(String protocol)
        {
            return protocol.Equals(ProtocolNames.File, StringComparison.OrdinalIgnoreCase);
        }
    }