ServiceStack.HttpRequestExtensions.GetOperationNameFromLastPathInfo C# (CSharp) Method

GetOperationNameFromLastPathInfo() public static method

public static GetOperationNameFromLastPathInfo ( string lastPathInfo ) : string
lastPathInfo string
return string
        public static string GetOperationNameFromLastPathInfo(string lastPathInfo)
        {
            if (IsNullOrEmpty(lastPathInfo)) return null;

            var operationName = lastPathInfo.Substring("/".Length);

            return operationName;
        }