private static Serializer CreateAndRegisterSerializer(Type type, RuntimeSerializerProvider provider)
        {
            var drawer = provider.Provide(type);

            RegisterSerializer(drawer);
            return(drawer);
        }
 private static void RegisterProvider(RuntimeSerializerProvider provider)
 {
     KnownProviders.Add(provider);
 }