From fcc557f51a8c9eb120cca8b005beb14a4c921ce3 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 7 May 2014 09:43:41 -0700 Subject: [PATCH 1/6] rename --- src/NOCQ/Imports/IDataImportHook.cs | 12 ++++++++++++ src/NOCQ/NOCQ.csproj | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/NOCQ/Imports/IDataImportHook.cs diff --git a/src/NOCQ/Imports/IDataImportHook.cs b/src/NOCQ/Imports/IDataImportHook.cs new file mode 100644 index 0000000..8c9e8a3 --- /dev/null +++ b/src/NOCQ/Imports/IDataImportHook.cs @@ -0,0 +1,12 @@ +using System; + +namespace NOCQ +{ + [Export(typeof(IDataImportHook))] + public interface IDataImportHook + { + void Run(); + void Stop(); + } +} + diff --git a/src/NOCQ/NOCQ.csproj b/src/NOCQ/NOCQ.csproj index f1187a6..3a97cfd 100644 --- a/src/NOCQ/NOCQ.csproj +++ b/src/NOCQ/NOCQ.csproj @@ -52,7 +52,7 @@ - + From c82482044377d87012dc5c2c12fb36741f548d32 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 7 May 2014 09:47:46 -0700 Subject: [PATCH 2/6] imports and exports --- src/NOCQ/Imports/DataImports.cs | 14 ++++++++++++++ src/NOCQ/NOCQ.csproj | 1 + 2 files changed, 15 insertions(+) create mode 100644 src/NOCQ/Imports/DataImports.cs diff --git a/src/NOCQ/Imports/DataImports.cs b/src/NOCQ/Imports/DataImports.cs new file mode 100644 index 0000000..8376ee0 --- /dev/null +++ b/src/NOCQ/Imports/DataImports.cs @@ -0,0 +1,14 @@ +using System.Collections.Generic; +using System.ComponentModel.Composition; + +namespace NOCQ +{ + [Export] + public class DataImports + { + [ImportMany] + IEnumerable DataHooks {get; set;} + + } +} + diff --git a/src/NOCQ/NOCQ.csproj b/src/NOCQ/NOCQ.csproj index 3a97cfd..515d7a8 100644 --- a/src/NOCQ/NOCQ.csproj +++ b/src/NOCQ/NOCQ.csproj @@ -53,6 +53,7 @@ + From 1170782007240a94b540448fa71886219ef79564 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 7 May 2014 09:48:10 -0700 Subject: [PATCH 3/6] deleing old file --- src/NOCQ/Imports/IDataImport.cs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/NOCQ/Imports/IDataImport.cs diff --git a/src/NOCQ/Imports/IDataImport.cs b/src/NOCQ/Imports/IDataImport.cs deleted file mode 100644 index 9d609a0..0000000 --- a/src/NOCQ/Imports/IDataImport.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace NOCQ -{ - public interface IDataImport - { - void Run(); - void Stop(); - } -} - From 7b8631671f8ebcd56d4d6c3c4e1381a871ba4298 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 7 May 2014 09:52:22 -0700 Subject: [PATCH 4/6] finish exports and imports --- src/NOCQ/Imports/DataImports.cs | 1 - src/NOCQ/Imports/IDataImportHook.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/NOCQ/Imports/DataImports.cs b/src/NOCQ/Imports/DataImports.cs index 8376ee0..f2e048d 100644 --- a/src/NOCQ/Imports/DataImports.cs +++ b/src/NOCQ/Imports/DataImports.cs @@ -8,7 +8,6 @@ namespace NOCQ { [ImportMany] IEnumerable DataHooks {get; set;} - } } diff --git a/src/NOCQ/Imports/IDataImportHook.cs b/src/NOCQ/Imports/IDataImportHook.cs index 8c9e8a3..ee08924 100644 --- a/src/NOCQ/Imports/IDataImportHook.cs +++ b/src/NOCQ/Imports/IDataImportHook.cs @@ -1,10 +1,10 @@ -using System; namespace NOCQ { [Export(typeof(IDataImportHook))] public interface IDataImportHook { + string Name { get; set; } void Run(); void Stop(); } From 5e2682debf4e11eb4114a2cecacfe62786269124 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 7 May 2014 10:02:49 -0700 Subject: [PATCH 5/6] namespace fix --- src/NOCQ/Imports/IDataImportHook.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NOCQ/Imports/IDataImportHook.cs b/src/NOCQ/Imports/IDataImportHook.cs index ee08924..e4c37be 100644 --- a/src/NOCQ/Imports/IDataImportHook.cs +++ b/src/NOCQ/Imports/IDataImportHook.cs @@ -1,3 +1,5 @@ +using System.ComponentModel.Composition; + namespace NOCQ { From 0d7616ec83439ce9acd6df9363d845310b3a5da7 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 7 May 2014 10:04:02 -0700 Subject: [PATCH 6/6] filesystem fix --- NOCQ.sln | 2 +- src/NOCQ.Application/NOCQ.Application.csproj | 39 +++++++++++++++++++ src/NOCQ.Application/Program.cs | 12 ++++++ .../Properties/AssemblyInfo.cs | 22 +++++++++++ 4 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 src/NOCQ.Application/NOCQ.Application.csproj create mode 100644 src/NOCQ.Application/Program.cs create mode 100644 src/NOCQ.Application/Properties/AssemblyInfo.cs diff --git a/NOCQ.sln b/NOCQ.sln index 08dc15a..41378d1 100644 --- a/NOCQ.sln +++ b/NOCQ.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NOCQ", "src\NOCQ\NOCQ.csproj", "{83651B7D-B58F-46B8-BFE2-BCC0A6C92C7A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NOCQ.Application", "NOCQ.Application\NOCQ.Application.csproj", "{DF8CD7EA-76FC-4B57-B24A-52C6373A8EDF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NOCQ.Application", "src\NOCQ.Application\NOCQ.Application.csproj", "{DF8CD7EA-76FC-4B57-B24A-52C6373A8EDF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/NOCQ.Application/NOCQ.Application.csproj b/src/NOCQ.Application/NOCQ.Application.csproj new file mode 100644 index 0000000..9a009b0 --- /dev/null +++ b/src/NOCQ.Application/NOCQ.Application.csproj @@ -0,0 +1,39 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {DF8CD7EA-76FC-4B57-B24A-52C6373A8EDF} + Exe + NOCQ.Application + NOCQ.Application + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + true + + + full + true + bin\Release + prompt + 4 + true + + + + + + + + + + \ No newline at end of file diff --git a/src/NOCQ.Application/Program.cs b/src/NOCQ.Application/Program.cs new file mode 100644 index 0000000..afcde55 --- /dev/null +++ b/src/NOCQ.Application/Program.cs @@ -0,0 +1,12 @@ +using System; + +namespace NOCQ.Application +{ + class MainClass + { + public static void Main (string[] args) + { + Console.WriteLine ("Hello World!"); + } + } +} diff --git a/src/NOCQ.Application/Properties/AssemblyInfo.cs b/src/NOCQ.Application/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f2ded68 --- /dev/null +++ b/src/NOCQ.Application/Properties/AssemblyInfo.cs @@ -0,0 +1,22 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. +[assembly: AssemblyTitle ("NOCQ.Application")] +[assembly: AssemblyDescription ("")] +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("")] +[assembly: AssemblyProduct ("")] +[assembly: AssemblyCopyright ("nmaclennan")] +[assembly: AssemblyTrademark ("")] +[assembly: AssemblyCulture ("")] +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. +[assembly: AssemblyVersion ("1.0.*")] +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] +