public static Conformance AddServer(this Conformance conformance) { conformance.AddRestComponent(isServer: true); return(conformance); }
public static Conformance.RestComponent Server(this Conformance conformance) { var server = conformance.Rest.FirstOrDefault(r => r.Mode == Conformance.RestfulConformanceMode.Server); return((server == null) ? conformance.AddRestComponent(isServer: true) : server); }
public static Conformance AddServer(this Conformance conformance) { conformance.AddRestComponent(true).AddSecurityComponent(); return(conformance); }