Table of Contents

Class ActionBodyAttribute

Namespace
Phoesion.Glow.SDK
Assembly
Phoesion.Glow.SDK.Abstractions.dll

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
object
Attribute
ActionBodyAttribute

Constructors

ActionBodyAttribute(Methods, string, int)

public ActionBodyAttribute(Methods Method, string filePath = "", int lineNumber = 0)

Parameters

Method Methods
filePath string
lineNumber int

Fields

FilePath

public string FilePath

Field Value

string

LineNumber

public int LineNumber

Field Value

int

Method

Set exposed REST methods for action.

public Methods Method

Field Value

Methods

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()

Returns

bool

true if this instance is the default attribute for the class; otherwise, false.