Class ServerTaskParametersAttribute
This attribute can be used to mark any implementation of the Server
It is optional if the ITask
Inherited Members
Namespace: LemonEdge.API.Tasks
Assembly: API.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class ServerTaskParametersAttribute : Attribute
Constructors
ServerTaskParametersAttribute(String, String)
Creates a new instance of the server task parameters attribute for describing a Server
Declaration
public ServerTaskParametersAttribute(string userFriendlyTaskName, string uniqueTaskID)
Parameters
Type | Name | Description |
---|---|---|
System. |
userFriendlyTaskName | The user friendly name of the task type |
System. |
uniqueTaskID | The globally unique System. |
Properties
DefaultForHasSaveProcessingTask
If this task works against an entity in the system that implements IHas
The integration automatically creates the task during save or provide parameters for it depending on the Should
Declaration
public Type DefaultForHasSaveProcessingTask { get; set; }
Property Value
Type | Description |
---|---|
System. |
Description
A user friendly description of this tasks operation
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
Name
The user friendly name of the task type
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System. |
UniqueTaskID
The globally unique id for this task. Used in Unique
Declaration
public Guid UniqueTaskID { get; }
Property Value
Type | Description |
---|---|
System. |