diff options
author | uzvkl <dennis.kobert@student.kit.edu> | 2019-06-11 23:05:52 +0200 |
---|---|---|
committer | uzvkl <dennis.kobert@student.kit.edu> | 2019-06-11 23:05:52 +0200 |
commit | e6181c24124d97f2fbc932b8a68311e625463156 (patch) | |
tree | c1f097c344ca266b7941c9668590b0fd35c7870a /dsa/DSALib/Auxiliary/CommandInfo.cs | |
parent | 2490ad5d31fe2ac778ff9303776f0e91f47a2862 (diff) |
Move dsa related stuff to subfolder
Diffstat (limited to 'dsa/DSALib/Auxiliary/CommandInfo.cs')
-rw-r--r-- | dsa/DSALib/Auxiliary/CommandInfo.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dsa/DSALib/Auxiliary/CommandInfo.cs b/dsa/DSALib/Auxiliary/CommandInfo.cs new file mode 100644 index 0000000..d8e2188 --- /dev/null +++ b/dsa/DSALib/Auxiliary/CommandInfo.cs @@ -0,0 +1,28 @@ +using System.Linq; + +namespace DSALib.Auxiliary +{ + public struct CommandInfo + { + public CommandInfo(string name, string brief, string[] description, string scope) + { + Name = name; + Scope = scope; + Brief = brief; + Description = description; + } + + public string Name { get; } + + public string Scope { get; } + + public string Brief { get; } + + public string[] Description { get; } + + public string GetDescription() + { + return Description.Aggregate((s, c) => s + c); + } + } +}
\ No newline at end of file |