Class ActionDefinition
Contains the definition for a web api 2 controller
Inheritance
System.Object
ActionDefinition
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.CXUI.WebApi2
Assembly: Simplic.CXUI.WebApi2.dll
Syntax
public class ActionDefinition
Properties
| Improve this Doc View SourceActionBodySettings
Gets or sets the values which will be used to generate action method bodies
Declaration
public IDictionary<string, object> ActionBodySettings { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Attributes
Gets or sets a list of attributes
Declaration
public IList<AttributeDefinition> Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<AttributeDefinition> |
Method
Gets or sets the action method, e.g. Get/Post
Declaration
public string Method { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the action name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Parameter
Gets or sets a list of parameter
Declaration
public IList<ParameterDefinition> Parameter { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ParameterDefinition> |
Returns
Gets or sets the returns definition
Declaration
public IList<ReturnDefinition> Returns { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ReturnDefinition> |
SecurityAttribute
Gets or sets the usage of a security attribute
Declaration
public SecurityAttributeDefinition SecurityAttribute { get; set; }
Property Value
Type | Description |
---|---|
SecurityAttributeDefinition |