コード例 #1
0
        public InMemoryQueryContextFactory(
            [NotNull] IStateManager stateManager,
            [NotNull] IEntityKeyFactorySource entityKeyFactorySource,
            [NotNull] IClrCollectionAccessorSource collectionAccessorSource,
            [NotNull] IClrAccessorSource<IClrPropertySetter> propertySetterSource,
            [NotNull] IInMemoryDataStore dataStore,
            [NotNull] ILoggerFactory loggerFactory)
            : base(stateManager, entityKeyFactorySource, collectionAccessorSource, propertySetterSource, loggerFactory)
        {
            Check.NotNull(dataStore, nameof(dataStore));

            _dataStore = dataStore;
        }
コード例 #2
0
        public InMemoryQueryContextFactory(
            [NotNull] IStateManager stateManager,
            [NotNull] IEntityKeyFactorySource entityKeyFactorySource,
            [NotNull] IClrCollectionAccessorSource collectionAccessorSource,
            [NotNull] IClrAccessorSource <IClrPropertySetter> propertySetterSource,
            [NotNull] IInMemoryDataStore dataStore,
            [NotNull] ILoggerFactory loggerFactory)
            : base(stateManager, entityKeyFactorySource, collectionAccessorSource, propertySetterSource, loggerFactory)
        {
            Check.NotNull(dataStore, nameof(dataStore));

            _dataStore = dataStore;
        }
コード例 #3
0
 public BattleshipGameService(IInMemoryDataStore inMemoryDataStore)
 {
     _inMemoryDataStore = inMemoryDataStore;
 }
コード例 #4
0
        public InMemoryDataStoreCreator([NotNull] IInMemoryDataStore dataStore)
        {
            Check.NotNull(dataStore, nameof(dataStore));

            _dataStore = dataStore;
        }
コード例 #5
0
 internal InMemoryReadOnlyDataSet(IInMemoryDataStore store, IEnumerable <string> includes)
 {
     _store    = store;
     _includes = includes;
 }
コード例 #6
0
 public InMemoryDataSource(IInMemoryDataStore store = null)
 {
     _store = store ?? new InMemoryDataStore();
 }
コード例 #7
0
 public InMemoryMutableDataSet(IInMemoryDataStore store)
 {
     _store = store;
 }
コード例 #8
0
        public InMemoryDataStoreCreator([NotNull] IInMemoryDataStore dataStore)
        {
            Check.NotNull(dataStore, nameof(dataStore));

            _dataStore = dataStore;
        }