示例#1
0
 public InMemoryDataBufferWriter(DeviceType device, InMemoryRecordingDataAccessBuffer buffer, Type dataType)
 {
     _device   = device;
     _buffer   = buffer;
     _dataType = dataType;
     _isOpen   = true;
 }
 public bool TryGetBuffer(string sessionId, out InMemoryRecordingDataAccessBuffer buffer)
 {
     return(_buffers.TryGetValue(sessionId, out buffer));
 }
 public InMemorySessionDeviceRecorder(SessionRecording recording, InMemoryRecordingDataAccessBuffer buffer, BufferSessionRecorderConfiguration configuration)
 {
     _devices       = recording.SelectedDevices.ToList();
     _buffer        = buffer;
     _configuration = configuration;
 }