Assembly: OptimaJet.Workflow.Core

Class Annotation

OptimaJet.Workflow.Core.Model.Annotation

Represents an annotation: a named string value attached as custom metadata to an ActivityDefinition or TransitionDefinition.

public class Annotation

Properties

public string Name { get; set; } #
Gets or sets the name used to retrieve the annotation value from an ActivityDefinition or TransitionDefinition.
public string JsonValue { get; set; } #
Gets or sets the annotation value, a string that can contain plain text or JSON.

Methods

public Annotation Clone() #
Creates a shallow copy of this Annotation.

Returns

Type
Description
Annotation
A new Annotation whose Annotation.Name and Annotation.JsonValue values match those of this instance.