예제 #1
0
 public MnistController(IMnistInterpreter mnist, IImageStore image_store, INetworkProposalStorage network_store, Db db)
 {
     this.mnist         = mnist ?? throw new ArgumentNullException(nameof(mnist));
     this.image_store   = image_store ?? throw new ArgumentNullException(nameof(image_store));
     this.network_store = network_store ?? throw new ArgumentNullException(nameof(network_store));
     this.db            = db;
 }
 public StorageController(INetworkProposalStorage storage, Db db)
 {
     this.storage = storage ?? throw new ArgumentNullException(nameof(storage));
     this.db      = db;
 }