BaseJump.Core.Metadata.ActionMetadataProvider.GetHttpMethod C# (CSharp) Method

GetHttpMethod() private method

private GetHttpMethod ( ) : HttpMethod
return HttpMethod
        private HttpMethod GetHttpMethod()
        {
            var attribute = metadata.ServiceMethod.GetCustomAttribute<HttpMethodAttribute>();
            return attribute == null ? httpMethodConvention.From(metadata) : attribute.HttpMethod;
        }