Otter SDK Reference
Version:

TimeSpanUnitAttribute(TimeSpanUnit unit) Constructor

Initializes a new instance of the TimeSpanUnitAttribute class.

Syntax

public .ctor(TimeSpanUnit unit)

Parameters

unit
Type: TimeSpanUnit

The desired unit.