//
// NosSmoothMessageSerializerOptions.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using MessagePack;
namespace NosSmooth.Comms.Core;
///
/// Contains options for MessagePack.
///
public class NosSmoothMessageSerializerOptions
{
///
/// Gets or sets the message pack options.
///
public MessagePackSerializerOptions Options { get; set; } = MessagePackSerializer.Typeless.DefaultOptions;
///
/// Obtain the options.
///
/// The options wrapper.
/// The options.
public static implicit operator MessagePackSerializerOptions(NosSmoothMessageSerializerOptions options)
{
return options.Options;
}
}