public Builder(FileInfo file, bool keepOnDispose) { _message = new FileMessage(file, keepOnDispose); }
private bool disposedValue = false; // To detect redundant calls /// <summary> /// Initializes a new instance of the <see cref="FileMessageBuilder"/> class. /// </summary> /// <param name="file">The file.</param> /// <param name="keepOnDispose">if set to <c>true</c> [keep on dispose].</param> public FileMessageBuilder(FileInfo file, bool keepOnDispose) { this.message = new FileMessage(file, keepOnDispose); }