Class ActionBodyAttribute
Mark method the implementation of the api's action (with the same name)
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class ActionBodyAttribute : Attribute
- Inheritance
-
objectAttributeActionBodyAttribute
Constructors
ActionBodyAttribute(Methods, string, int)
public ActionBodyAttribute(Methods Method, string filePath = "", int lineNumber = 0)
Parameters
Fields
FilePath
public string FilePath
Field Value
LineNumber
public int LineNumber
Field Value
Method
Set exposed REST methods for action.
public Methods Method
Field Value
Methods
IsDefaultAttribute()
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
public override bool IsDefaultAttribute()