Class TaskTemplate
public record TaskTemplate : ITaskTemplate, IEquatable<TaskTemplate>
- Inheritance
-
TaskTemplate
- Implements
- Inherited Members
- Extension Methods
Constructors
TaskTemplate()
public TaskTemplate()
TaskTemplate(TaskTemplate)
protected TaskTemplate(TaskTemplate original)
Parameters
originalTaskTemplate
Properties
Conditions
Gets or sets the conditions associated with the task template.
public IEnumerable<ITaskCondition>? Conditions { get; set; }
Property Value
CreateTaskForEachMatch
Gets or sets a value indicating whether a task should be created for each match found.
public bool CreateTaskForEachMatch { get; set; }
Property Value
Description
Gets or sets the description of the task template.
public string? Description { get; set; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Execution
Gets or sets the execution type of the task.
public TaskExecution Execution { get; set; }
Property Value
Id
public long Id { get; set; }
Property Value
ImplementationName
Gets the name of the ResQueServeTask implementation to use for executing this task. This should match the Name property of a ResQueServeTaskAttribute registered in the system.
public string? ImplementationName { get; set; }
Property Value
IsMandatory
Gets or sets a value indicating whether the task is mandatory.
public bool IsMandatory { get; set; }
Property Value
Parameters
Gets or sets the parameters needed for task execution, keyed by parameter name.
public IDictionary<string, object>? Parameters { get; set; }
Property Value
RequireAllConditions
Gets or sets a value indicating whether all conditions must be met.
public bool RequireAllConditions { get; set; }
Property Value
RequiresSuccessfulSignal
Indicates if the task is waiting for an external signal or callback to confirm success. If set to false, the task is considered successfully completed once the internal execution code completes.
public bool RequiresSuccessfulSignal { get; set; }
Property Value
TimeoutSeconds
Defines a timeout in seconds for how long the task will wait before entering a failed state if is not executed in time.
public int? TimeoutSeconds { get; set; }
Property Value
- int?
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(TaskTemplate?)
public virtual bool Equals(TaskTemplate? other)
Parameters
otherTaskTemplate
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(TaskTemplate?, TaskTemplate?)
public static bool operator ==(TaskTemplate? left, TaskTemplate? right)
Parameters
leftTaskTemplaterightTaskTemplate
Returns
operator !=(TaskTemplate?, TaskTemplate?)
public static bool operator !=(TaskTemplate? left, TaskTemplate? right)
Parameters
leftTaskTemplaterightTaskTemplate