/// <summary> Creates the simplified nuclear storage wrapper around Atomic storage. </summary> /// <param name="storageConfig">The storage config.</param> /// <param name="strategy">The atomic storage strategy.</param> /// <returns></returns> public static NuclearStorage CreateNuclear(IAzureStorageConfig storageConfig, IAtomicStorageStrategy strategy) { var factory = new AzureAtomicStorageFactory(strategy, storageConfig); factory.Initialize(); return(new NuclearStorage(factory)); }
/// <summary> Creates the simplified nuclear storage wrapper around Atomic storage. </summary> /// <param name="storageConfig">The storage config.</param> /// <param name="strategy">The atomic storage strategy.</param> /// <returns></returns> public static NuclearStorage CreateNuclear(IAzureStorageConfig storageConfig, IAtomicStorageStrategy strategy) { var factory = new AzureAtomicStorageFactory(strategy, storageConfig); factory.Initialize(); return new NuclearStorage(factory); }