예제 #1
0
 public IORequest(IORequestDirection requestDirection, Address address, Memory <byte> payload, IoRequestProperties properties = 0)
 {
     Id = Guid.NewGuid();
     RequestDirection    = requestDirection;
     Address             = address;
     Payload             = payload;
     IoRequestProperties = properties;
 }
예제 #2
0
 /// <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;
 }