public override string ToString() { return ($"ArchiveID: {Id}\r\nOptions to download archive:\r\n{string.Join(Environment.NewLine, new[] {"From the web-based interface (Portal)", $"Run the following command: {IntegrationTask.NameOf<DumpArchiveTask>()} {Id}"}.Concat(_additionalDownloadOptions).Select(x => $" - { x } "))}"); }
public ITask Get <TTask>() where TTask : class, ITask { return(Get(IntegrationTask.NameOf <TTask>())); }