/// <summary> /// Constructor /// </summary> /// <param name="bufferFileService">Created instance</param> public BufferFileServiceCreatedEventArgs(HexBufferFileService bufferFileService) { if (bufferFileService == null) { throw new ArgumentNullException(nameof(bufferFileService)); } BufferFileService = bufferFileService; }
/// <summary> /// Constructor /// </summary> /// <param name="bufferFileService">Created instance</param> public BufferFileServiceCreatedEventArgs(HexBufferFileService bufferFileService) => BufferFileService = bufferFileService ?? throw new ArgumentNullException(nameof(bufferFileService));