Example #1
0
        public IStore BuildStore(string storeName, IStoreOptions storeOptions)
        {
            if (storeOptions.ProviderType != this.Name)
            {
                throw new Exceptions.BadStoreProviderException(this.Name, storeName);
            }

            return(this.BuildStoreInternal(
                       storeName,
                       storeOptions.ParseStoreOptions <TParsedOptions, TInstanceOptions, TStoreOptions, TScopedStoreOptions>(options)));
        }
 public IStore BuildStore(string storeName, IStoreOptions storeOptions)
 {
     return(this.BuildStoreInternal(
                storeName,
                storeOptions.ParseStoreOptions <TParsedOptions, TInstanceOptions, TStoreOptions, TScopedStoreOptions>(options)));
 }