/// <summary> /// This method replace SubmitForProcessing /// </summary> /// <param name="visitor"></param> public void Accept(IDocumentVisitor visitor) { if (visitor == null) { throw new ArgumentNullException(nameof(visitor)); } visitor.Visit(Name, FileData); }