17 using System.ComponentModel;
19 using TraceLabSDK.Component.Config;
20 using TraceLabSDK.Types;
22 namespace TraceLab.Components.Library.Exporters.Artifacts
24 [Component(Name =
"Simple Artifacts Exporter",
25 Description =
"Exports a TLArtifactsCollection to a tab-delimited text file.",
26 Author =
"SEMERU; Evan Moritz",
29 [IOSpec(IOSpecType.Input,
"Artifacts", typeof(TLArtifactsCollection))]
30 [Tag(
"Exporters.TLArtifactsCollection.To TXT")]
39 Configuration = _config;
44 TLArtifactsCollection artifacts = (TLArtifactsCollection)Workspace.Load(
"Artifacts");
45 DevelopmentKit.IO.Artifacts.ExportFile(artifacts, _config.File.Absolute);
51 [DisplayName(
"File location")]
52 [Description(
"File name to export to")]
53 public FilePath File {
get; set; }