using System.Collections.Generic; namespace Duplicati.Library.Modules.Builtin { /// /// Interface for describing a result serializer /// public interface IResultFormatSerializer { /// /// Serialize the specified result and logLines. /// /// The serialized result string. /// The result to serialize. /// The log lines to serialize. /// Additional parameters to include string Serialize(object result, IEnumerable loglines, Dictionary additional); /// /// Returns the format that the serializer represents /// ResultExportFormat Format { get; } } }