public CtpQuote(string pAbsoluteFilePath) { loader = new AssembyLoader(pAbsoluteFilePath); Directory.CreateDirectory("log"); _api = ((Create)loader.Invoke("CreateApi", typeof(Create)))(); _spi = ((Create)loader.Invoke("CreateSpi", typeof(Create)))(); (loader.Invoke("RegisterSpi", typeof(DelegateRegisterSpi)) as DelegateRegisterSpi)?.Invoke(_api, _spi); }
public ctp_quote(string pFile) { loader = new AssembyLoader(pFile); Directory.CreateDirectory("log"); _api = (loader.Invoke("CreateApi", typeof(Create)) as Create)(); _spi = (loader.Invoke("CreateSpi", typeof(Create)) as Create)(); (loader.Invoke("RegisterSpi", typeof(DelegateRegisterSpi)) as DelegateRegisterSpi)(_api, _spi); }
public IntPtr Release() { return(((DelegateRelease)loader.Invoke("Release", typeof(DelegateRelease)))(_api)); }
public IntPtr Release() { return((loader.Invoke("Release", typeof(DeleRelease)) as DeleRelease)(_api)); }