Ejemplo n.º 1
0
 public LocaleFactoryException(ILocaleFactory localeFactory)
 {
     LocaleFactory = localeFactory ?? throw new ArgumentNullException(nameof(localeFactory));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///		Creates a new locale repository.
 /// </summary>
 /// <param name="factory">
 ///		The locale factory.
 /// </param>
 public LocaleRepository(ILocaleFactory factory)
 {
     _factory = factory ?? throw new ArgumentNullException(nameof(factory));
 }
Ejemplo n.º 3
0
 public LocaleFactoryException(ILocaleFactory localeFactory, string?message, Exception?innerException) : base(message, innerException)
 {
     LocaleFactory = localeFactory ?? throw new ArgumentNullException(nameof(localeFactory));
 }