BuildMaster SDK Reference
Version:

TimeSpanUnitAttribute Class

Specifies the default unit to use for a System.TimeSpan property.

Inheritance Hierarchy

  • object
    • System.Attribute
      • Inedo.BuildMaster.Extensibility.TimeSpanUnitAttribute

Syntax

public class TimeSpanUnitAttribute : System.Attribute

Constructors

Name Description
TimeSpanUnitAttribute(TimeSpanUnit unit)

Initializes a new instance of the TimeSpanUnitAttribute class.

Properties

Name Description
Unit

Gets the unit.

Methods

Name Description
GetTimeSpan(double value)

Gets the timespan from the specified value.