Table of Contents

Class TimeSpanParseRuleAttribute

Namespace
Quartz
Assembly
Quartz.dll

Attribute to use with public TimeSpan properties that can be set with Quartz configuration. Attribute can be used to advice parsing to use correct type of time span (milliseconds, seconds, minutes, hours) as it may depend on property.

[AttributeUsage(AttributeTargets.Property)]
public sealed class TimeSpanParseRuleAttribute : Attribute
Inheritance
TimeSpanParseRuleAttribute
Inherited Members

Constructors

TimeSpanParseRuleAttribute(TimeSpanParseRule)

Initializes a new instance of the TimeSpanParseRuleAttribute class.

public TimeSpanParseRuleAttribute(TimeSpanParseRule rule)

Parameters

rule TimeSpanParseRule

The rule.

Properties

Rule

Gets the rule.

public TimeSpanParseRule Rule { get; }

Property Value

TimeSpanParseRule

The rule.

See Also