extend Commander entry with full name CMDR + Name
This commit is contained in:
parent
2bf8d9018d
commit
9918c7d559
@ -8,4 +8,13 @@ public class CommanderEntry : Entry {
|
|||||||
Name = JSON.Value<string>("Name") ?? "";
|
Name = JSON.Value<string>("Name") ?? "";
|
||||||
FID = JSON.Value<string>("FID") ?? "";
|
FID = JSON.Value<string>("FID") ?? "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string FullName {
|
||||||
|
get {
|
||||||
|
if (string.IsNullOrEmpty(Name)) {
|
||||||
|
return string.Empty;
|
||||||
|
}
|
||||||
|
return "CMDR " + Name;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user