/// <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); }
public static void Dispose() { Instance.Configuration.StorageDatabase.Dispose(); Instance = null; }