public IStorageAbstraction Create(WindowsAzureStorageAccountCredentials credentials) { WabStorageAbstractionSimulator simulator; if (!this.simulators.TryGetValue(credentials.Name, out simulator)) { simulator = new WabStorageAbstractionSimulator(credentials); this.simulators.Add(credentials.Name, simulator); } return simulator; }
public IStorageAbstraction Create(WindowsAzureStorageAccountCredentials credentials) { WabStorageAbstractionSimulator simulator; if (!this.simulators.TryGetValue(credentials.Name, out simulator)) { simulator = new WabStorageAbstractionSimulator(credentials); this.simulators.Add(credentials.Name, simulator); } return(simulator); }