Blighttp.Handler.GetPath C# (CSharp) Method

GetPath() public method

public GetPath ( ) : string
return string
        public string GetPath(params object[] arguments)
        {
            string output = IsDefaultHandler ? "" : string.Format("/{0}", Name);
            foreach (var argument in arguments)
                output += string.Format("/{0}", argument);
            if (Parent != null)
                output = Parent.GetPath() + output;
            if (output.Length == 0)
                output = "/";
            return output;
        }