imports and exports

This commit is contained in:
Tommy Parnell
2014-05-07 09:47:46 -07:00
parent fcc557f51a
commit c824820443
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
using System.ComponentModel.Composition;
namespace NOCQ
{
[Export]
public class DataImports
{
[ImportMany]
IEnumerable<IDataImportHook> DataHooks {get; set;}
}
}

View File

@@ -53,6 +53,7 @@
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Extensability\Catalog.cs" /> <Compile Include="Extensability\Catalog.cs" />
<Compile Include="Imports\IDataImportHook.cs" /> <Compile Include="Imports\IDataImportHook.cs" />
<Compile Include="Imports\DataImports.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup> <ItemGroup>