public async Task DefaultTagsWithAssemblyCatalogTypeShouldNotDuplicatePlugins() { var catalog = new AssemblyPluginCatalog(@"..\..\..\..\..\Assemblies\bin\JsonNew\netstandard2.0\JsonNetNew.dll"); await catalog.Initialize(); Assert.Single(catalog.GetPlugins()); var plugin = catalog.Get(); Assert.Equal(2, plugin.Tags.Count); TypeFinderOptions.Defaults.TypeFinderCriterias.Clear(); }
public Plugin Get(string name, Version version) { return(_catalog.Get(name, version)); }