Table of Contents
API reference

Class TimeSpanSecondsAttribute

Namespace
DisCatSharp.Common.Serialization
Assembly
DisCatSharp.Common.dll

Specifies that this TimeSpan will be serialized as a number of whole seconds.

This value will always be serialized as a number.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class TimeSpanSecondsAttribute : SerializationAttribute
Inheritance
TimeSpanSecondsAttribute
Inherited Members
Extension Methods