static void RegisterTypes() { var container = new ServiceProviderContainer(); container.DefaultRegister(); container.RegisterType(typeof(IJsonSerializer), typeof(JsonNetSerializer)); ContainerManager.Container = container; }
static void RegisterTypes() { var container = new ServiceProviderContainer(); container.DefaultRegister(); container.RegisterType(typeof(IJsonSerializer), typeof(JsonNetSerializer)); container.RegisterType(typeof(VerificationCodeBase), typeof(SkiaSharpVerificationCode)); ContainerManager.Container = container; }