コード例 #1
0
 public static Conformance AddServer(this Conformance conformance)
 {
     conformance.AddRestComponent(isServer: true);
     return(conformance);
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 public static Conformance AddServer(this Conformance conformance)
 {
     conformance.AddRestComponent(true).AddSecurityComponent();
     return(conformance);
 }