Class ServerTaskResultAttribute
Marks any ServerTaskResult implementation with the type if task this result hold details for
Inherited Members
Namespace: LemonEdge.API.Core.Tasks
Assembly: LemonEdge.API.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ServerTaskResultAttribute : Attribute
Constructors
ServerTaskResultAttribute(string, ServerTaskResultType)
Creates a new server task result attribute for a ServerTaskResult implementation
Declaration
public ServerTaskResultAttribute(string uniqueTaskID, ServerTaskResultType type)
Parameters
Type | Name | Description |
---|---|---|
string | uniqueTaskID | The globally unique Guid id for this type of task. Used by UniqueTaskID to |
ServerTaskResultType | type | The type of area this handler can process the result from within. Either a client or server handler. The client one may also use UI presentations of the results. |
Properties
Type
The type of area this handler can process the result from within. Either a client or server handler. The client one may also use UI presentations of the results.
Declaration
public ServerTaskResultType Type { get; }
Property Value
Type | Description |
---|---|
ServerTaskResultType |
UniqueTaskID
The globally unique id for this type of task. Used by UniqueTaskID to
Declaration
public Guid UniqueTaskID { get; }
Property Value
Type | Description |
---|---|
Guid |