Class IronPythonWebApiPackage.Handler
Handler which must be inherited by all python controlelr
Inheritance
System.Object
IronPythonWebApiPackage.Handler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.WebAPI.Dynamic
Assembly: Simplic.Framework.WebAPI.dll
Syntax
public class Handler
Properties
| Improve this Doc View Sourceaction_name
Gets or sets the current action name
Declaration
public string action_name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
controller
Gets or sets the current controlelr
Declaration
public Http.ApiController controller { get; set; }
Property Value
Type | Description |
---|---|
System.Web.Http.ApiController |
user_id
Gets or sets the current user id
Declaration
public int? user_id { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
| Improve this Doc View Sourcenegotiated_content(HttpStatusCode, Object)
Create new negotiated content
Declaration
public IronPythonWebApiPackage.NegotiatedResult negotiated_content(HttpStatusCode status_code, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | status_code | Status code |
System.Object | value | Value |
Returns
Type | Description |
---|---|
IronPythonWebApiPackage.NegotiatedResult |