コード例 #1
0
 public TrStringInfo()
 {
     NewOriginal   = "New original.";
     TranslationTr = new TrString {
         Old = "Old original.", Translation = "Традуктирование."
     };
 }
コード例 #2
0
 /// <summary>Constructor.</summary>
 public MemberTr(TrString displayName, TrString description)
 {
     DisplayName = displayName;
     Description = description;
     Category    = "";
 }
コード例 #3
0
 /// <summary>Constructor.</summary>
 public MemberTr(TrString category, TrString displayName, TrString description)
 {
     Category    = category ?? "";
     DisplayName = displayName;
     Description = description ?? "";
 }
コード例 #4
0
 /// <summary>Constructor.</summary>
 public MemberTr(TrString displayName)
 {
     DisplayName = displayName;
     Description = Category = "";
 }
コード例 #5
0
 /// <summary>Constructor.</summary>
 public MemberTr(TrString category, MemberDescriptionTr memberDescription)
 {
     Category    = category;
     DisplayName = memberDescription.DisplayName;
     Description = memberDescription.Description;
 }