Exemplo n.º 1
0
        ///-------------------------------------------------------------------------------------------------
        /// <summary>
        ///  Creates the store.
        /// </summary>
        /// <returns>
        ///  The new store.
        /// </returns>
        ///-------------------------------------------------------------------------------------------------
        public async Task <IHyperstore> CreateAsync()
        {
            if (_assemblies != null)
            {
                await _services.ComposeAsync(_assemblies.ToArray());
            }

            var store = new Store(_services, _options, _id);

            return(store);
        }