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