Table of Contents
API reference

Class UnixSecondsAttribute

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

Specifies that this DateTime or DateTimeOffset will be serialized as Unix timestamp seconds.

This value will always be serialized as a number.

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