aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SystemInfo/SystemObject.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2020-03-15 16:22:40 +0200
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2020-03-15 16:22:40 +0200
commite5accfce2c661fab649bb57c33b63c679a67e60c (patch)
tree1f29c4d77fd8e70736f4745b86a30abcf9bb3fd0 /Software/Visual_Studio/Tango.SystemInfo/SystemObject.cs
parent56678ae530fe45b0880053793ab46f47051e4dc6 (diff)
parentb188d7bfd91062f65474bd139bb8a434694f117b (diff)
downloadTango-e5accfce2c661fab649bb57c33b63c679a67e60c.tar.gz
Tango-e5accfce2c661fab649bb57c33b63c679a67e60c.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.SystemInfo/SystemObject.cs')
-rw-r--r--Software/Visual_Studio/Tango.SystemInfo/SystemObject.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.SystemInfo/SystemObject.cs b/Software/Visual_Studio/Tango.SystemInfo/SystemObject.cs
new file mode 100644
index 000000000..be1c74fe5
--- /dev/null
+++ b/Software/Visual_Studio/Tango.SystemInfo/SystemObject.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Tango.SystemInfo
+{
+ public class SystemObject
+ {
+ public String Name { get; set; }
+ public List<SystemObjectProperty> Properties { get; set; }
+
+ public SystemObject()
+ {
+ Properties = new List<SystemObjectProperty>();
+ }
+
+ public override string ToString()
+ {
+ String msg = String.Empty;
+
+ msg = $"Name: {Name}\n";
+
+ foreach (var prop in Properties)
+ {
+ msg += $"{prop.Name}: {prop.Value}\n";
+ }
+
+ return msg;
+ }
+ }
+}