Table of Contents

Class ActionAttribute

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

Mark method as a public action exposed by this service/module

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class ActionAttribute : Attribute
Inheritance
object
Attribute
ActionAttribute

Constructors

ActionAttribute(Methods, string, int)

public ActionAttribute(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

Timeout

Set explicit timeout (in seconds) for action. (0=default)

public int Timeout

Field Value

int

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.