/// <summary> /// Default ctor /// </summary> private CultureInfo(Locale locale, bool isInvariant = false) { this._locale = locale; _numberFormat = new LazyAndWeak<NumberFormatInfo>(()=>new NumberFormatInfo(locale)); _dateTimeFormat = new LazyAndWeak<DateTimeFormatInfo>(() => new DateTimeFormatInfo(locale, isInvariant)); }
/// <summary> /// Default ctor /// </summary> private CultureInfo(Locale locale, bool isInvariant = false) { this._locale = locale; _numberFormat = new LazyAndWeak <NumberFormatInfo>(() => new NumberFormatInfo(locale)); _dateTimeFormat = new LazyAndWeak <DateTimeFormatInfo>(() => new DateTimeFormatInfo(locale, isInvariant)); }