diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs b/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs index d9c5d61e7..a1c4a05ae 100644 --- a/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs +++ b/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs @@ -70,6 +70,13 @@ namespace Tango.Explorer Extension = ".tfp", }; + public static ExplorerFileDefinition CsvFile => new ExplorerFileDefinition() + { + Icon = ResourceHelper.GetImageFromResources("/Images/csv.png"), + Description = "CSV File", + Extension = ".csv", + }; + static ExplorerFileDefinition() { _definitions = typeof(ExplorerFileDefinition).GetProperties(BindingFlags.Public | BindingFlags.Static).Where(x => x.PropertyType == typeof(ExplorerFileDefinition)).ToList().Select(x => x.GetValue(null, null) as ExplorerFileDefinition).ToList(); |
