public ClientConnectionFactory( IInjectLibrary injectLibrary, IWin32ProcessRepository win32ProcessRepository, IIpcServerChannelFactory ipcServerChannelFactory, IReadProcessMemory readProcessMemory) { Contract.Requires <ArgumentNullException>(injectLibrary != null); Contract.Requires <ArgumentNullException>(win32ProcessRepository != null); Contract.Requires <ArgumentNullException>(ipcServerChannelFactory != null); Contract.Requires <ArgumentNullException>(readProcessMemory != null); this.injectLibrary = injectLibrary; this.win32ProcessRepository = win32ProcessRepository; this.ipcServerChannelFactory = ipcServerChannelFactory; this.readProcessMemory = readProcessMemory; }
public ClientConnectionFactory( IInjectLibrary injectLibrary, IWin32ProcessRepository win32ProcessRepository, IIpcServerChannelFactory ipcServerChannelFactory, IReadProcessMemory readProcessMemory) { Contract.Requires<ArgumentNullException>(injectLibrary != null); Contract.Requires<ArgumentNullException>(win32ProcessRepository != null); Contract.Requires<ArgumentNullException>(ipcServerChannelFactory != null); Contract.Requires<ArgumentNullException>(readProcessMemory != null); this.injectLibrary = injectLibrary; this.win32ProcessRepository = win32ProcessRepository; this.ipcServerChannelFactory = ipcServerChannelFactory; this.readProcessMemory = readProcessMemory; }
public ClientConnection( IntPtr remoteProcessHandle, string hookServerChannelName, IIpcServerChannel sendCallbackChannel, IIpcServerChannel receiveCallbackChannel, IReadProcessMemory readProcessMemory) { Contract.Requires<ArgumentException>(string.IsNullOrWhiteSpace(hookServerChannelName) == false); Contract.Requires<ArgumentNullException>(sendCallbackChannel != null); Contract.Requires<ArgumentNullException>(receiveCallbackChannel != null); Contract.Requires<ArgumentNullException>(readProcessMemory != null); this.remoteProcessHandle = remoteProcessHandle; this.hookServerChannelName = hookServerChannelName; this.sendCallbackChannel = sendCallbackChannel; this.receiveCallbackChannel = receiveCallbackChannel; this.readProcessMemory = readProcessMemory; }
public ClientConnection( IntPtr remoteProcessHandle, string hookServerChannelName, IIpcServerChannel sendCallbackChannel, IIpcServerChannel receiveCallbackChannel, IReadProcessMemory readProcessMemory) { Contract.Requires <ArgumentException>(string.IsNullOrWhiteSpace(hookServerChannelName) == false); Contract.Requires <ArgumentNullException>(sendCallbackChannel != null); Contract.Requires <ArgumentNullException>(receiveCallbackChannel != null); Contract.Requires <ArgumentNullException>(readProcessMemory != null); this.remoteProcessHandle = remoteProcessHandle; this.hookServerChannelName = hookServerChannelName; this.sendCallbackChannel = sendCallbackChannel; this.receiveCallbackChannel = receiveCallbackChannel; this.readProcessMemory = readProcessMemory; }
public MemoryManager(IReadProcessMemory readProcessMemory) { Contract.Requires<ArgumentNullException>(readProcessMemory != null); this.readProcessMemory = readProcessMemory; }
public MemoryManager(IReadProcessMemory readProcessMemory) { Contract.Requires <ArgumentNullException>(readProcessMemory != null); this.readProcessMemory = readProcessMemory; }