コード例 #1
0
 public TranslationBundle AsDefaultBundle()
 {
     DefaultBundle = this;
     return (this);
 }
コード例 #2
0
 public static TranslationBundle Create(CultureInfo cultureInfo = null, bool isDefaultBundle = true)
 {
     var bundle = new TranslationBundle(cultureInfo);
     if (isDefaultBundle || DefaultBundle == null) bundle.AsDefaultBundle();
     return (bundle);
 }