示例#1
0
 public ImportController(IImportOrderRepository repoService,
                         IProductRepository productRepo,
                         ImportItems importItemsService)
 {
     repository       = repoService;
     this.productRepo = productRepo;
     importItems      = importItemsService;
 }
示例#2
0
        public DirectiveAttributeParameterCompletionItemProviderTest()
        {
            Provider        = new DirectiveAttributeParameterCompletionItemProvider(new DefaultTagHelperFactsService());
            EmptyAttributes = Enumerable.Empty <string>();

            // Most of these completions rely on stuff in the web namespace.
            ImportItems.Add(CreateProjectItem(
                                "_Imports.razor",
                                "@using Microsoft.AspNetCore.Components.Web"));

            var codeDocument = GetCodeDocument(string.Empty);

            DefaultTagHelperDocumentContext = codeDocument.GetTagHelperContext();
        }
示例#3
0
 public ImportItemsSummaryViewComponent(ImportItems importItemsService)
 {
     importItems = importItemsService;
 }
示例#4
0
        private void ImportItem()
        {
            var importItemsWindow = new ImportItems();

            importItemsWindow.ShowDialog();
        }