コード例 #1
0
 public ConsulPathAttribute(string path, HttpMethodKind httpMethodKind = HttpMethodKind.Get)
 {
     Path       = path;
     HttpMethod = httpMethodKind.ToHttpMethod();
 }
コード例 #2
0
        public HttpUrlAttribute(string url, HttpMethodKind httpMethodKind = HttpMethodKind.Get)
        {
            Url = url;

            HttpMethod = httpMethodKind.ToHttpMethod();
        }