API Documentation

BucketSchedulerTaskDescriptor

Namespace: TagBites.WinSchedulers.Descriptors
Assembly: TagBites.WinSchedulers.dll

Provides information about tasks in the TagBites.WinSchedulers.BucketScheduler. This class cannot be inherited.

public sealed class BucketSchedulerTaskDescriptor : TagBites.WinSchedulers.ComponentModel.ComponentDescriptor

Constructors

BucketSchedulerTaskDescriptor(Type, Func<object, object>)

Initializes a new instance of the TagBites.WinSchedulers.Descriptors.BucketSchedulerTaskDescriptor class with the specified task component type and delegate which provide bucket containing the task.

public void BucketSchedulerTaskDescriptor(Type componentType, Func<object, object> bucketDelegate)

Result Type: void

Parameters

TypeName
TypecomponentTypeType of the component this descriptor is bound to.
Func<object,object>bucketDelegate

BucketSchedulerTaskDescriptor(Type, string)

Initializes a new instance of the TagBites.WinSchedulers.Descriptors.BucketSchedulerTaskDescriptor class with specified task component type, task bucket member.

public void BucketSchedulerTaskDescriptor(Type componentType, string bucketMember)

Result Type: void

Parameters

TypeName
TypecomponentTypeType of the component this descriptor is bound to.
stringbucketMemberMember name that contains the task resource

Properties

BorderColorDelegate

Gets or sets the delegate encapsulating a method that returns the task border color.

public Func<object, Color> BorderColorDelegate { get; set; }

Result Type: Func<object,Color>

BorderColorMember

Gets or sets the name of the member that returns the task border color.

public string BorderColorMember { get; set; }

Result Type: string

BucketDelegate

Gets or sets the delegate encapsulating a method that returns the bucket containing the task.

public Func<object, object> BucketDelegate { get; set; }

Result Type: Func<object,object>

BucketMember

Gets or sets the name of the member that returns the bucket containing the task.

public string BucketMember { get; set; }

Result Type: string

ColorDelegate

Gets or sets the delegate encapsulating a method that returns the task color.

public Func<object, Color> ColorDelegate { get; set; }

Result Type: Func<object,Color>

ColorMember

Gets or sets the name of the member that returns the task color.

public string ColorMember { get; set; }

Result Type: string

ConsumptionDelegate

Gets or sets the delegate encapsulating a method that returns the consumption by the task of the bucket capacity.

public Func<object, double> ConsumptionDelegate { get; set; }

Result Type: Func<object,double>

ConsumptionMember

Gets or sets the name of the member that returns the consumption by the task of the bucket capacity.

public string ConsumptionMember { get; set; }

Result Type: string

DescriptionDelegate

Gets or sets the delegate encapsulating a method that returns the description displayed by the task.

public Func<object, string> DescriptionDelegate { get; set; }

Result Type: Func<object,string>

DescriptionMember

Gets or sets the name of the member that returns the description displayed by the task.

public string DescriptionMember { get; set; }

Result Type: string

FontColorDelegate

Gets or sets the delegate encapsulating a method that returns the task font color.

public Func<object, Color> FontColorDelegate { get; set; }

Result Type: Func<object,Color>

FontColorMember

Gets or sets the name of the member that returns the task font color.

public string FontColorMember { get; set; }

Result Type: string

GroupDelegate

Gets or sets the delegate encapsulating a method that returns the consumption by the task of the bucket capacity.

public Func<object, object> GroupDelegate { get; set; }

Result Type: Func<object,object>

GroupMember

Gets or sets the name of the member that returns the task group.

public string GroupMember { get; set; }

Result Type: string

TextDelegate

Gets or sets the delegate encapsulating a method that returns the text displayed by the task.

public Func<object, string> TextDelegate { get; set; }

Result Type: Func<object,string>

TextMember

Gets or sets the name of the member that returns the text displayed by the task.

public string TextMember { get; set; }

Result Type: string