// Copyright © 2017-2018 Atomic Software, LLC. All Rights Reserved.
// See LICENSE.md for full license information.

using System;

namespace Atom.Core.Networking.Messages
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
    public class MessageHandlerAttribute : Attribute
    {
        public MessageProtocol Protocol { get; set; }

        public MessageHandlerAttribute(MessageProtocol protocol)
        {
            Protocol = protocol;
        }
    }
}
