MsgPack.Serialization.MessagePackDateTimeMemberAttribute Class Reference

Marks that this DateTime or DateTimeOffset typed member has special characteristics on MessagePack serialization. More...

Inherits Attribute.

Public Member Functions

 MessagePackDateTimeMemberAttribute ()
 Initializes a new instance of the MessagePackDateTimeMemberAttribute class. More...
 

Properties

DateTimeMemberConversionMethod DateTimeConversionMethod [get, set]
 Gets or sets the default serialization method for this enum typed member. More...
 

Detailed Description

Marks that this DateTime or DateTimeOffset typed member has special characteristics on MessagePack serialization.

If this attributes is used for incompatible typed members, this attribute will be ignored.

Constructor & Destructor Documentation

◆ MessagePackDateTimeMemberAttribute()

MsgPack.Serialization.MessagePackDateTimeMemberAttribute.MessagePackDateTimeMemberAttribute ( )

Initializes a new instance of the MessagePackDateTimeMemberAttribute class.

Property Documentation

◆ DateTimeConversionMethod

DateTimeMemberConversionMethod MsgPack.Serialization.MessagePackDateTimeMemberAttribute.DateTimeConversionMethod
getset

Gets or sets the default serialization method for this enum typed member.

The default serialization method for this enum typed member. Note that the method for the enum type will be overrided with this.


The documentation for this class was generated from the following file:
  • MsgPackSources/Serialization/MessagePackDateTimeMemberAttribute.cs