예제 #1
0
 //  private readonly ITransaction<ShoppingDbContext> _transaction;
 public TypeManager(ILogger <TypeManager> logger, IMapper mapper, ITypeStore typeStore /* ,ITransaction<ShoppingDbContext> transaction*/)
 {
     _typeStore = typeStore;
     _logger    = logger;
     _mapper    = mapper;
     // _transaction = transaction;
 }
예제 #2
0
 public DataTypeBuilder(TypeFactory factory, ITypeStore store, IPlatform platform)
 {
     this.store    = store;
     this.factory  = factory;
     this.unifier  = new DataTypeBuilderUnifier(factory, store);
     this.platform = platform;
 }
예제 #3
0
		public DataTypeBuilder(TypeFactory factory, ITypeStore store, IPlatform platform)
		{
			this.store = store;
			this.factory = factory;
			this.unifier = new DataTypeBuilderUnifier(factory, store);
            this.platform = platform;
		}
예제 #4
0
 public AddressTraitCollector(TypeFactory factory, ITypeStore store, ITraitHandler handler, Program program)
 {
     this.factory = factory;
     this.store = store;
     this.handler = handler;
     this.program = program;
     this.arrayContext = false;
 }
예제 #5
0
 public AddressTraitCollector(TypeFactory factory, ITypeStore store, ITraitHandler handler, Program program)
 {
     this.factory      = factory;
     this.store        = store;
     this.handler      = handler;
     this.program      = program;
     this.arrayContext = false;
 }
예제 #6
0
 public TraitCollector(TypeFactory factory, ITypeStore store, ITraitHandler handler, Program program)
 {
     this.factory = factory;
     this.store   = store;
     this.handler = handler;
     this.program = program;
     this.aem     = new ArrayExpressionMatcher(program.Platform.PointerType);
     this.atrco   = new AddressTraitCollector(factory, store, handler, program);
 }
예제 #7
0
        internal static void RegisterTypeStore(ITypeStore store)
        {
            //check if the assembly has already been added
            Assembly checkAssembly = store.GetType().Assembly;

            if (!m_assemblies.Contains(checkAssembly))
            {
                //m_catalog.Catalogs.Add(new AssemblyCatalog(checkAssembly));
                m_assemblies.Add(checkAssembly);
                foreach (ITypeStore typeStore in m_store)
                {
                    typeStore.ScanAssembly(checkAssembly);
                }
            }

            m_store.Add(store);

            //make sure to add all assemblies to the type store
            foreach (Assembly assembly in m_assemblies)
            {
                store.ScanAssembly(assembly);
            }
        }
예제 #8
0
        private int nestedCalls;        //$DEBUG

        public DataTypeBuilderUnifier(TypeFactory factory, ITypeStore store)
            : base(factory)
        {
            this.store = store;
        }
예제 #9
0
 Indexer(ITypeStore typeStore)
     : base(typeStore, new InactiveIndexer())
 {
 }
예제 #10
0
 protected TypeManager(ITypeStore typeStore)
 {
     _typeStore = typeStore ?? throw new ArgumentNullException(nameof(typeStore));
 }
예제 #11
0
        private int nestedCalls;        //$DEBUG

        public DataTypeBuilderUnifier(TypeFactory factory, ITypeStore store)
            : base(factory)
        {
            this.store = store;
        }
예제 #12
0
 public AdminService(ITypeStore typeStore, ICategoryStore categoryStore)
 {
     _typeStore     = typeStore;
     _categoryStore = categoryStore;
 }
 public CompanyTypeManager(ITypeStore typeStore) : base(typeStore)
 {
 }
예제 #14
0
 public DealTypeManager(ITypeStore typeStore) : base(typeStore)
 {
 }
예제 #15
0
#pragma warning restore SA1401 // Fields should be private

        protected Database(ITypeStore typeInfo, IIndexer indexer)
        {
            _typeInfo = typeInfo;
            _indexer  = indexer;
        }
 public ContactTypeManager(ITypeStore typeStore) : base(typeStore)
 {
 }