public MessagePackFormatterAttribute(MessagePackFormatterType type)
 {
     Type = (int)type;
 }
 public static void GetProviders(ICollection <IMessagePackProvider> providers, MessagePackFormatterType formatterType = MessagePackFormatterType.Unknown, Assembly assembly = null)
 {
     GetProviders(providers, (int)formatterType, assembly);
 }
 public static IMessagePackProvider CreateProvider(IMessagePackContext context = null, MessagePackFormatterType type = MessagePackFormatterType.Unknown, Assembly assembly = null)
 {
     return(CreateProvider(context ?? MessagePackContext.Empty, (int)type, assembly));
 }
 public static void GetFormatters(IMessagePackProvider provider, IMessagePackContext context, IDictionary <Type, IMessagePackFormatter> formatters, MessagePackFormatterType formatterType = MessagePackFormatterType.Unknown, Assembly assembly = null)
 {
     GetFormatters(provider, context ?? MessagePackContext.Empty, formatters, (int)formatterType, assembly);
 }
 public MessagePackProviderAttribute(int order, MessagePackFormatterType type)
 {
     Order = order;
     Type  = (int)type;
 }