InedoSDK Reference
Version:

TimeSpanUnitAttribute Class

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

Inheritance Hierarchy

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

Syntax

public sealed 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)