コード例 #1
0
 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 } "))}");
 }
コード例 #2
0
 public ITask Get <TTask>() where TTask : class, ITask
 {
     return(Get(IntegrationTask.NameOf <TTask>()));
 }