protected MonoConnectionTestParameters(MonoConnectionTestParameters other) : base(other) { Category = other.Category; ConnectionFlags = other.ConnectionFlags; ValidateCipherList = other.ValidateCipherList; }
static void CheckConnectionFlags(ref ConnectionTestFlags flags, HttpServerFlags serverFlags) { var sslListenerFlags = HttpServerFlags.HttpListener | HttpServerFlags.SSL; if ((serverFlags & sslListenerFlags) == sslListenerFlags) { flags |= ConnectionTestFlags.RequireMonoServer | ConnectionTestFlags.RequireHttpListener; } }
static string GetFlagsName(ConnectionTestFlags flags) { if ((flags & ConnectionTestFlags.ManualClient) != 0) { return(":ManualClient"); } else if ((flags & ConnectionTestFlags.ManualServer) != 0) { return(":ManuelServer"); } else { return(string.Empty); } }
public ConnectionTestProviderFilter(ConnectionTestCategory category, ConnectionTestFlags flags) : base(flags) { Category = category; }
protected bool HasFlag(ConnectionTestFlags flag) { return((Flags & flag) == flag); }
public ConnectionProviderFilter(ConnectionTestFlags flags) { Flags = flags; }
public SimpleFilter(ConnectionTestFlags flags) : base(flags) { }
public static ConnectionProviderFilter CreateSimpleFilter(ConnectionTestFlags flags) { return(new SimpleFilter(flags)); }
public ConnectionTestProvider(ConnectionProvider client, ConnectionProvider server, ConnectionTestCategory category, ConnectionTestFlags flags) : base(client, server, string.Format("{0}:{1}:{2}{3}", client.Name, server.Name, category, GetFlagsName(flags))) { Category = category; Flags = flags; }
public ConnectionTestFlagsAttribute(ConnectionTestFlags flags) { this.flags = flags; this.identifier = Type.Name; }