Exemple #1
0
        public static void Initialise()
        {
            var iocUnityManager = IoC.Container as IocUnityManager;

            if (iocUnityManager != null)
            {
                var passwordCipherFactory = iocUnityManager.Resolver <IPasswordCipherFactory>();
                PasswordCipherFactory.SetCurrent(passwordCipherFactory);
            }
        }
Exemple #2
0
 public static void TestAssemblyInitialize(TestContext context)
 {
     PasswordCipherFactory.SetCurrent(new Pbkdf2PasswordCipherFactory());
 }