public InjectablePBNRecommenderStore(IIoUtils io, ISettingsStore store, TypePathUtil typePathUtil)
     : base(store.GetSettings <ModelStoreSettings>().ModelStorePath, io, typePathUtil)
 {
     store.SettingsChanged += (sender, args) =>
     {
         if (args.SettingsType == typeof(ModelStoreSettings))
         {
             BasePath = store.GetSettings <ModelStoreSettings>().ModelStorePath;
         }
     };
 }
 public void Setup()
 {
     _sut = new TypePathUtil();
 }
Beispiel #3
0
 public SmilePBNRecommenderStore(string basePath, IIoUtils io, TypePathUtil typePath)
 {
     BasePath  = basePath;
     _io       = io;
     _typePath = typePath;
 }