Chronos Plugins 5.11.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.LinkPropertyAttribute Class Reference

Attribute to link the decorated Property with the specifyed Task and TaskProperty. More...

Inheritance diagram for AxelSemrau.Chronos.Plugin.LinkPropertyAttribute:
Collaboration diagram for AxelSemrau.Chronos.Plugin.LinkPropertyAttribute:

Public Member Functions

 LinkPropertyAttribute (string taskPropertyPath)
 Initializes a new instance of the LinkPropertyAttribute class.
 LinkPropertyAttribute (string taskName, string propertyName)
 Initializes a new instance of the LinkPropertyAttribute class.

Properties

string TaskName [get]
 The name of the task to be linked with.
string PropertyName [get]
 The property name to be linked with.

Detailed Description

Attribute to link the decorated Property with the specifyed Task and TaskProperty.

Definition at line 719 of file TaskInterfaces.cs.

Constructor & Destructor Documentation

◆ LinkPropertyAttribute() [1/2]

AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.LinkPropertyAttribute ( string taskPropertyPath)

Initializes a new instance of the LinkPropertyAttribute class.

Parameters
taskPropertyPathThe task property path to be linked with.

Definition at line 725 of file TaskInterfaces.cs.

726 {
727 var sp=taskPropertyPath.Split('.');
728 TaskName = sp[0];
729
730 if (sp.Length>1) PropertyName = sp[1];
731 }

References PropertyName, and TaskName.

◆ LinkPropertyAttribute() [2/2]

AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.LinkPropertyAttribute ( string taskName,
string propertyName )

Initializes a new instance of the LinkPropertyAttribute class.

Parameters
taskNameThe name of the task to be linked with.
propertyNameThe property name to be linked with.

Definition at line 738 of file TaskInterfaces.cs.

739 {
740 TaskName = taskName;
741 PropertyName = propertyName;
742 }

References PropertyName, and TaskName.

Property Documentation

◆ PropertyName

string AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.PropertyName
get

The property name to be linked with.

The name of the property.

Definition at line 757 of file TaskInterfaces.cs.

757{ get; }

Referenced by LinkPropertyAttribute(), and LinkPropertyAttribute().

◆ TaskName

string AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.TaskName
get

The name of the task to be linked with.

The name of the task.

Definition at line 749 of file TaskInterfaces.cs.

749{ get; }

Referenced by LinkPropertyAttribute(), and LinkPropertyAttribute().


The documentation for this class was generated from the following file: