public SimpleServerHost() { Handlers = new List <IHandler>(); FQDN = "*"; AliasFQDNs = new List <string>(); Endpoint = new SimpleServerEndpoint(); Methods = new List <SimpleServerMethod>(SimpleServerMethod.DefaultMethods); }
public bool Equals(SimpleServerEndpoint other) { return(Equals(Scope, other.Scope) && Port == other.Port); }