public TranslationRepository( IContentLanguageWrapper contentLanguage, HttpContextBase context) { if (contentLanguage == null) throw new ArgumentNullException("contentLanguage"); if (context == null) throw new ArgumentNullException("context"); _contentLanguage = contentLanguage; _context = context; }
public LocalizationServiceDecorator( ILocalizationServiceWrapper inner, IContentLanguageWrapper contentLanguage, ITranslationRepository translationRepository) { if (inner == null) throw new ArgumentNullException("inner"); if (contentLanguage == null) throw new ArgumentNullException("contentLanguage"); if (translationRepository == null) throw new ArgumentNullException("translationRepository"); _inner = inner; _contentLanguage = contentLanguage; _translationRepository = translationRepository; }
public TranslationRepository( IContentLanguageWrapper contentLanguage, HttpContextBase context) { if (contentLanguage == null) { throw new ArgumentNullException("contentLanguage"); } if (context == null) { throw new ArgumentNullException("context"); } _contentLanguage = contentLanguage; _context = context; }
public LocalizationServiceDecorator( ILocalizationServiceWrapper inner, IContentLanguageWrapper contentLanguage, ITranslationRepository translationRepository) { if (inner == null) { throw new ArgumentNullException("inner"); } if (contentLanguage == null) { throw new ArgumentNullException("contentLanguage"); } if (translationRepository == null) { throw new ArgumentNullException("translationRepository"); } _inner = inner; _contentLanguage = contentLanguage; _translationRepository = translationRepository; }