Skip to content
Auto
Products

BucketSchedulerTaskDescriptor

Namespace: TagBites.WinSchedulers.Descriptors
Assembly: TagBites.WinSchedulers.dll
Product: TagBites.WinSchedulers v. 1.3.8

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

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

Inheritance: object → ComponentDescriptor → BucketSchedulerTaskDescriptor

BucketSchedulerTaskDescriptor(Type, Func<object, object>)

Section titled “BucketSchedulerTaskDescriptor(Type, Func<object, object>)”

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

public BucketSchedulerTaskDescriptor(Type componentType, Func<object, object> bucketDelegate)
  • componentType Type
    Type of the component this descriptor is bound to.
  • bucketDelegate Func<object, object>

BucketSchedulerTaskDescriptor(Type, string)

Section titled “BucketSchedulerTaskDescriptor(Type, string)”

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

public BucketSchedulerTaskDescriptor(Type componentType, string bucketMember)
  • componentType Type
    Type of the component this descriptor is bound to.
  • bucketMember string
    Member name that contains the task resource

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

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

Func<object, Color>

A delegate that returns the task border color.

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

public string BorderColorMember { get; set; }

string

A String represents the name of the member that contains the task border color.

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

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

Func<object, object>

A delegate that returns the bucket containing a bucket.

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

public string BucketMember { get; set; }

string

A String represents the name of the member that contains the bucket containing the task.

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

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

Func<object, Color>

A delegate that returns the task color.

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

public string ColorMember { get; set; }

string

A String represents the name of the member that contains the task color.

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; }

Func<object, double>

A delegate that returns the task consumption by the task of the bucket capacity.

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

public string ConsumptionMember { get; set; }

string

A String represents the name of the member that contains the consumption by the task of the bucket capacity.

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

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

Func<object, string>

A delegate that returns the description displayed by the task.

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

public string DescriptionMember { get; set; }

string

A String represents the name of the member that contains the description displayed by the task.

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

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

Func<object, Color>

A delegate that returns the task font color.

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

public string FontColorMember { get; set; }

string

A String represents the name of the member that contains the task font color.

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; }

Func<object, object>

A delegate that returns the task consumption by the task of the bucket capacity.

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

public string GroupMember { get; set; }

string

A String represents the name of the member that contains the task group.

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

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

Func<object, string>

A delegate that returns the text displayed by the task.

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

public string TextMember { get; set; }

string

A String represents the name of the member that contains the text displayed by the task