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.ComponentDescriptorInheritance: object → ComponentDescriptor → TimeSchedulerTaskDescriptor
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”componentTypeType
Type of the component this descriptor is bound to.resourceDelegateFunc<object, object>
The delegate encapsulating a method that returns the the task resource.intervalDelegateFunc<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)Parameters
Section titled “Parameters”componentTypeType
Type of the component this descriptor is bound to.resourceDelegateFunc<object, object>
The delegate encapsulating a method that returns the the task resource.intervalStartDelegateFunc<object, DateTime>
The delegate encapsulating a method that returns the the task interval.start.intervalEndDelegateFunc<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)Parameters
Section titled “Parameters”componentTypeType
Type of the component this descriptor is bound to.resourceMemberstring
Member name that contains the task resourceintervalMemberstring
Member name that contains the task interval
Properties
Section titled “Properties”BorderColorDelegate
Section titled “BorderColorDelegate”Gets or sets the delegate encapsulating a method that returns the task border color.
public Func<object, Color> BorderColorDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns the task border color.
BorderColorMember
Section titled “BorderColorMember”Gets or sets the name of the member that returns the task border color.
public string BorderColorMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the task border color.
ColorDelegate
Section titled “ColorDelegate”Gets or sets the delegate encapsulating a method that returns the task color.
public Func<object, Color> ColorDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns the task color.
ColorMember
Section titled “ColorMember”Gets or sets the name of the member that returns the task color.
public string ColorMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the task color.
CustomDrawnDelegate
Section titled “CustomDrawnDelegate”Gets or sets the delegate encapsulating a method that returns whether the task is custom drawn.
public Func<object, bool> CustomDrawnDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns whether the task is custom drawn.
CustomDrawnMember
Section titled “CustomDrawnMember”Gets or sets the name of the member that returns whether the task is custom drawn.
public string CustomDrawnMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains whether the task is custom drawn.
DescriptionDelegate
Section titled “DescriptionDelegate”Gets or sets the delegate encapsulating a method that returns the description displayed by the task.
public Func<object, string> DescriptionDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns the description displayed by the task.
DescriptionMember
Section titled “DescriptionMember”Gets or sets the name of the member that returns the task displayed description.
public string DescriptionMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the task displayed description.
FontColorDelegate
Section titled “FontColorDelegate”Gets or sets the delegate encapsulating a method that returns the task font color.
public Func<object, Color> FontColorDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns the task font color.
FontColorMember
Section titled “FontColorMember”Gets or sets the name of the member that returns the task font color.
public string FontColorMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the task font color.
IntervalDelegate
Section titled “IntervalDelegate”Gets or sets the delegate encapsulating a method that returns the the task interval.
public Func<object, TimeSchedulerInterval> IntervalDelegate { get; set; }Property Value
Section titled “Property Value”Func<object, TimeSchedulerInterval>
A delegate that returns the task interval.
IntervalMember
Section titled “IntervalMember”Gets or sets the name of the member that returns the task interval.
public string IntervalMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the task interval.
MaximumHeightPercentageDelegate
Section titled “MaximumHeightPercentageDelegate”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; }Property Value
Section titled “Property Value”A delegate that returns the task maximum height in percentage of the task height.
MaximumHeightPercentageMember
Section titled “MaximumHeightPercentageMember”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; }Property Value
Section titled “Property Value”A String represents the name of the member that contains maximum height in percentage of the task height.
ProgressDelegate
Section titled “ProgressDelegate”Gets or sets the delegate encapsulating a method that returns the task progress.
public Func<object, double> ProgressDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns the task progress.
ProgressMember
Section titled “ProgressMember”Gets or sets the name of the member that returns the task progress.
public string ProgressMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the task border color.
ResourceDelegate
Section titled “ResourceDelegate”Gets or sets the delegate encapsulating a method that returns the the task resource.
public Func<object, object> ResourceDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns the task resource.
ResourceMember
Section titled “ResourceMember”Gets or sets the name of the member that returns the task resource.
public string ResourceMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the task resource.
TextDelegate
Section titled “TextDelegate”Gets or sets the delegate encapsulating a method that returns the text displayed by the task.
public Func<object, string> TextDelegate { get; set; }Property Value
Section titled “Property Value”A delegate that returns the text displayed by the task.
TextMember
Section titled “TextMember”Gets or sets the name of the member that returns the text displayed by the task.
public string TextMember { get; set; }Property Value
Section titled “Property Value”A String represents the name of the member that contains the text displayed by the task.