예제 #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();
        }