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;
         }
     };
 }
예제 #2
0
 public void Setup()
 {
     _sut = new TypePathUtil();
 }
예제 #3
0
 public SmilePBNRecommenderStore(string basePath, IIoUtils io, TypePathUtil typePath)
 {
     BasePath  = basePath;
     _io       = io;
     _typePath = typePath;
 }