예제 #1
0
 public static string GetDescription(this ExpungeReason that)
 => that.ToFriendlyNameString(name => LocalizedStrings.ExpungeReason[name].GetValue("Description"));
예제 #2
0
 public ExpungeReasonVM(ExpungeReason reason)
 {
     this.Name        = reason.ToFriendlyNameString();
     this.Description = reason.GetDescription();
     this.Key         = reason;
 }
예제 #3
0
 public static string ToFriendlyNameString(this ExpungeReason that)
 => that.ToFriendlyNameString(name => LocalizedStrings.ExpungeReason[name].GetValue("Name"));