Skip to main content

ActionContext

Context to capture IService action

Assembly: ServiceStack.dll​
View Source​
Declaration
public class ActionContext

Properties​

Id​

View Source​
Declaration
public string Id { get; set; }

RequestType​

View Source​
Declaration
public Type RequestType { get; set; }

ServiceType​

View Source​
Declaration
public Type ServiceType { get; set; }

ServiceAction​

View Source​
Declaration
public ActionInvokerFn ServiceAction { get; set; }

RequestFilters​

View Source​
Declaration
public IRequestFilterBase[] RequestFilters { get; set; }

ResponseFilters​

View Source​
Declaration
public IResponseFilterBase[] ResponseFilters { get; set; }

Fields​

AnyAction​

View Source​
Declaration
public const string AnyAction = "ANY"

AnyMethod​

View Source​
Declaration
public const string AnyMethod = "Any"

Methods​

Key(String, String)​

View Source​
Declaration
public static string Key(string method, string requestDtoName)
Returns​

System.String

Parameters​
TypeName
System.Stringmethod
System.StringrequestDtoName

AnyKey(String)​

View Source​
Declaration
public static string AnyKey(string requestDtoName)
Returns​

System.String

Parameters​
TypeName
System.StringrequestDtoName

AnyFormatKey(String, String)​

View Source​
Declaration
public static string AnyFormatKey(string format, string requestDtoName)
Returns​

System.String

Parameters​
TypeName
System.Stringformat
System.StringrequestDtoName