public ImportController(IImportOrderRepository repoService, IProductRepository productRepo, ImportItems importItemsService) { repository = repoService; this.productRepo = productRepo; importItems = importItemsService; }
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(); }
public ImportItemsSummaryViewComponent(ImportItems importItemsService) { importItems = importItemsService; }
private void ImportItem() { var importItemsWindow = new ImportItems(); importItemsWindow.ShowDialog(); }