Skip to content
Auto
Products

TimeSchedulerTaskDescriptor

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

Provides information about tasks in a TimeScheduler.

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

Inheritance: object → ComponentDescriptor → TimeSchedulerTaskDescriptor

TimeSchedulerTaskDescriptor(Type, Func<object, object>, Func<object, TimeSchedulerInterval>)

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

Initializes a new instance of the TimeSchedulerTaskDescriptor class with the specified task component type and delegates which provide task resource and interval.

public TimeSchedulerTaskDescriptor(Type componentType, Func<object, object> resourceDelegate, Func<object, TimeSchedulerInterval> intervalDelegate)
  • componentType Type
    Type of the component this descriptor is bound to.
  • resourceDelegate Func<object, object>
    The delegate encapsulating a method that returns the the task resource.
  • intervalDelegate Func<object, TimeSchedulerInterval>
    The delegate encapsulating a method that returns the the task interval.

TimeSchedulerTaskDescriptor(Type, Func<object, object>, Func<object, DateTime>, Func<object, DateTime>)

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

Initializes a new instance of the TimeSchedulerTaskDescriptor class with the specified task component type and delegates which provide task resource, interval start and end.

public TimeSchedulerTaskDescriptor(Type componentType, Func<object, object> resourceDelegate, Func<object, DateTime> intervalStartDelegate, Func<object, DateTime> intervalEndDelegate)
  • componentType Type
    Type of the component this descriptor is bound to.
  • resourceDelegate Func<object, object>
    The delegate encapsulating a method that returns the the task resource.
  • intervalStartDelegate Func<object, DateTime>
    The delegate encapsulating a method that returns the the task interval.start.
  • intervalEndDelegate Func<object, DateTime>
    The delegate encapsulating a method that returns the the task interval end.

TimeSchedulerTaskDescriptor(Type, string, string)

Section titled “TimeSchedulerTaskDescriptor(Type, string, string)”

Initializes a new instance of the TimeSchedulerTaskDescriptor class with specified task component type, task resource member and task interval member.

public TimeSchedulerTaskDescriptor(Type componentType, string resourceMember, string intervalMember)
  • componentType Type
    Type of the component this descriptor is bound to.
  • resourceMember string
    Member name that contains the task resource
  • intervalMember string
    Member name that contains the task interval

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 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 whether the task is custom drawn.

public Func<object, bool> CustomDrawnDelegate { get; set; }

Func<object, bool>

A delegate that returns whether the task is custom drawn.

Gets or sets the name of the member that returns whether the task is custom drawn.

public string CustomDrawnMember { get; set; }

string

A String represents the name of the member that contains whether the task is custom drawn.

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 task displayed description.

public string DescriptionMember { get; set; }

string

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

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 the task interval.

public Func<object, TimeSchedulerInterval> IntervalDelegate { get; set; }

Func<object, TimeSchedulerInterval>

A delegate that returns the task interval.

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

public string IntervalMember { get; set; }

string

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

Gets or sets the delegate encapsulating a method that returns the task maximum height in percentage of the task height.

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

Func<object, double>

A delegate that returns the task maximum height in percentage of the task height.

Gets or sets the name of the member that returns the task maximum height in percentage of the task height.

public string MaximumHeightPercentageMember { get; set; }

string

A String represents the name of the member that contains maximum height in percentage of the task height.

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

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

Func<object, double>

A delegate that returns the task progress.

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

public string ProgressMember { 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 the task resource.

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

Func<object, object>

A delegate that returns the task resource.

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

public string ResourceMember { get; set; }

string

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

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.