Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
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.
 

Properties

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

Detailed Description

The Task Category Method Attribute.

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

608 {
609 Category = category;
610 RankWithinCategory = ranking;
611 }
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 620 of file TaskInterfaces.cs.

620{ 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 628 of file TaskInterfaces.cs.

628{ get; set; }

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


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