PathInfo
Class to hold
Assembly: ServiceStack.Text.dll
View Source
Declaration
public class PathInfo
Properties
ControllerName
View Source
Declaration
public string ControllerName { get; }
ActionName
View Source
Declaration
public string ActionName { get; }
Arguments
View Source
Declaration
public List<string> Arguments { get; }
Options
View Source
Declaration
public Dictionary<string, string> Options { get; }
FirstArgument
View Source
Declaration
public string FirstArgument { get; }
Methods
GetArgumentValue<T>(Int32)
View Source
Declaration
public T GetArgumentValue<T>(int index)
Returns
<T>
Parameters
Type | Name |
---|---|
System.Int32 | index |
Type Parameters
T
Parse(String)
Parses the specified path info. e.g. MusicPage/arg1/0/true?debug&showFlows=3 => PathInfo .ActionName = 'MusicPage' .Arguments = ['arg1','0','true'] .Options = { debug:'True', showFlows:'3' }
View Source
Declaration
public static PathInfo Parse(string pathUri)
Returns
ServiceStack.Text.Controller.PathInfo
Parameters
Type | Name | Description |
---|---|---|
System.String | pathUri | The path url. |
|