Chronos Plugins  5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
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. More...
 
 LinkPropertyAttribute (string taskName, string propertyName)
 Initializes a new instance of the LinkPropertyAttribute class. More...
 

Properties

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

Detailed Description

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

Definition at line 683 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 689 of file TaskInterfaces.cs.

690  {
691  var sp=taskPropertyPath.Split('.');
692  TaskName = sp[0];
693 
694  if (sp.Length>1) PropertyName = sp[1];
695  }
string TaskName
The name of the task to be linked with
string PropertyName
The property name to be linked with

References AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.PropertyName, and AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.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 702 of file TaskInterfaces.cs.

703  {
704  TaskName = taskName;
705  PropertyName = propertyName;
706  }

References AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.PropertyName, and AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.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 721 of file TaskInterfaces.cs.

721 { get; }

Referenced by AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.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 713 of file TaskInterfaces.cs.

713 { get; }

Referenced by AxelSemrau.Chronos.Plugin.LinkPropertyAttribute.LinkPropertyAttribute().


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