예제 #1
0
파일: Factors.cs 프로젝트: fossabot/factors
        /// <summary>
        /// Initalizes the FactorsClient instance
        /// </summary>
        /// <param name="configuration"></param>
        public static FactorsRegistration Initalize(FactorsConfiguration configuration)
        {
            Registration = new FactorsRegistration();
            Instance     = new FactorsApplication(configuration);

            Instance.Configuration.StorageDatabase.InitializeEncryptionProvider(Instance.Configuration.EncryptionProvider);

            return(Registration);
        }
예제 #2
0
파일: Factors.cs 프로젝트: fossabot/factors
 public static void Dispose()
 {
     Instance.Configuration.StorageDatabase.Dispose();
     Instance = null;
 }