<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

NullProcessEventWriter

Represents a null design pattern for occasions where a valid IProcessEventWriter is referenced but whose functionality isn't actually used or required. This class cannot be inherited.
using System; namespace Relativity.DataExchange.Process { public sealed class NullProcessEventWriter : IProcessEventWriter, IDisposable { public string File { get; } public bool HasEvents => false; public NullProcessEventWriter() { File = string.Empty; } public void Close() { } public void Dispose() { } public void Save(string targetFile) { } public void Write(ProcessEventDto dto) { } } }