public EmbeddedNetworkTest(DatasetInterface dataset, SWIGTYPE_p_EmbeddedNet nn) : this(rysyPINVOKE.new_EmbeddedNetworkTest(DatasetInterface.getCPtr(dataset), SWIGTYPE_p_EmbeddedNet.getCPtr(nn)), true) { if (rysyPINVOKE.SWIGPendingException.Pending) { throw rysyPINVOKE.SWIGPendingException.Retrieve(); } }
public ClassificationExperiment(DatasetInterface dataset, string experiment_dir, string network_config_file) : this(rysyPINVOKE.new_ClassificationExperiment(DatasetInterface.getCPtr(dataset), experiment_dir, network_config_file), true) { if (rysyPINVOKE.SWIGPendingException.Pending) { throw rysyPINVOKE.SWIGPendingException.Retrieve(); } }
public DatasetInterface(DatasetInterface other) : this(rysyPINVOKE.new_DatasetInterface__SWIG_1(DatasetInterface.getCPtr(other)), true) { if (rysyPINVOKE.SWIGPendingException.Pending) { throw rysyPINVOKE.SWIGPendingException.Retrieve(); } }
public void create(DatasetInterface dataset) { rysyPINVOKE.Batch_create(swigCPtr, DatasetInterface.getCPtr(dataset)); if (rysyPINVOKE.SWIGPendingException.Pending) { throw rysyPINVOKE.SWIGPendingException.Retrieve(); } }
public DatasetInterface GetDataSetInterfaceDetails(int datasetId, int interfaceId) { DatasetInterface di = new DatasetInterface(); try { using (_dbContext = string.IsNullOrEmpty(_connectionString) ? _dbContext : new ZionContext(_connectionString)) { var dataSet = _dbContext.DatasetFileDetails.Where(d => d.DatasetId == datasetId).FirstOrDefault(); var interFace = _dbContext.InterfaceSftpDetails.Where(i => i.InterfaceId == interfaceId).FirstOrDefault(); di = new DatasetInterface { Dataset = dataSet, Interface = interFace }; } } catch (Exception ex) { throw ex; } return(di); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DatasetInterface obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }