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

GetPath() private method

private GetPath ( ) : string
return string
        private string GetPath()
        {
            var route = metadata.ServiceMethod.GetCustomAttribute<RouteAttribute>();
            if (route != null)
            {
                return route.Route;
            }
            return actionPathConvention.From(metadata);
        }