fixing some accessors

This commit is contained in:
Tommy Parnell
2014-05-23 19:43:54 -04:00
parent 796cf7cbd1
commit eb8fb78770
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ namespace NOCQ
public class DataImports public class DataImports
{ {
[ImportMany(AllowRecomposition = true)] [ImportMany(AllowRecomposition = true)]
public IEnumerable<System.Lazy<IDataImportHook,IDataImportMetadata>> DataHooks {get; set;} IEnumerable<System.Lazy<IDataImportHook,IDataImportMetadata>> DataHooks {get; set;}
} }
} }

View File

@@ -6,7 +6,7 @@ namespace NOCQ
public interface IDataImportHook public interface IDataImportHook
{ {
string Name { get; set;} string Name { get; }
void Run(); void Run();
void Stop(); void Stop();
} }

View File

@@ -12,7 +12,7 @@ namespace NOCQ
{ {
public string Name {get;set;} public string Name {get;set;}
IDataImportAttr(string name) public IDataImportAttr(string name)
:base(typeof(IDataImportHook)) :base(typeof(IDataImportHook))
{ {
Name = name; Name = name;