public IORequest(IORequestDirection requestDirection, Address address, Memory <byte> payload, IoRequestProperties properties = 0) { Id = Guid.NewGuid(); RequestDirection = requestDirection; Address = address; Payload = payload; IoRequestProperties = properties; }
/// <summary> /// ctor /// </summary> /// <param name="requestDirection"></param> /// <param name="address"></param> public IORequest(IORequestDirection requestDirection, Address address, IoRequestProperties properties = 0) { Id = Guid.NewGuid(); RequestDirection = requestDirection; Address = address; Payload = Array.Empty <byte>(); IoRequestProperties = properties; }