Chronos Plugins  5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
AxelSemrau.Chronos.Plugin.TaskCategoryAttribute Class Reference

The Task Category Method Attribute More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.TaskCategoryAttribute:
+ Collaboration diagram for AxelSemrau.Chronos.Plugin.TaskCategoryAttribute:

Public Member Functions

 TaskCategoryAttribute (TaskCategory category, int ranking=0)
 Initializes a new instance of the TaskCategoryAttribute class. More...
 

Properties

TaskCategory Category [get, private set]
 Gets the category. More...
 
int RankWithinCategory [get, set]
 Gets or sets the rank within category. More...
 

Detailed Description

The Task Category Method Attribute

Definition at line 571 of file TaskInterfaces.cs.

Constructor & Destructor Documentation

◆ TaskCategoryAttribute()

AxelSemrau.Chronos.Plugin.TaskCategoryAttribute.TaskCategoryAttribute ( TaskCategory  category,
int  ranking = 0 
)

Initializes a new instance of the TaskCategoryAttribute class.

Parameters
categoryThe category.
rankingThe ranking.

Definition at line 578 of file TaskInterfaces.cs.

579  {
580  Category = category;
581  RankWithinCategory = ranking;
582  }
int RankWithinCategory
Gets or sets the rank within category.

References AxelSemrau.Chronos.Plugin.TaskCategoryAttribute.Category, and AxelSemrau.Chronos.Plugin.TaskCategoryAttribute.RankWithinCategory.

Property Documentation

◆ Category

TaskCategory AxelSemrau.Chronos.Plugin.TaskCategoryAttribute.Category
getprivate set

Gets the category.

The category.

Definition at line 591 of file TaskInterfaces.cs.

591 { get; private set; }

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

◆ RankWithinCategory

int AxelSemrau.Chronos.Plugin.TaskCategoryAttribute.RankWithinCategory
getset

Gets or sets the rank within category.

The rank within category.

Definition at line 599 of file TaskInterfaces.cs.

599 { get; set; }

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


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