public InlineStringsPresenter(InlineStringsRepository inlineStringsRepository) { if (inlineStringsRepository == null) { throw new ArgumentNullException(nameof(InlineStringsRepository)); } this._inlineStringsRepository = inlineStringsRepository; }
public InlineStringsLocalizationProvider(InlineStringsRepository inlineStringsRepository) { if (inlineStringsRepository == null) { throw new NullReferenceException(nameof(InlineStringsRepository)); } this._inlineStringsRepository = inlineStringsRepository; }
public DefaultLocalizationExportUnit(DefaultLocalizationRepository defaultLocalizationRepository, EditorConfigRepository editorConfigRepository, InlineStringsRepository inlineStringsRepository) { if (defaultLocalizationRepository == null) { throw new NullReferenceException(nameof(DefaultLocalizationRepository)); } if (editorConfigRepository == null) { throw new NullReferenceException(nameof(EditorConfigRepository)); } if (inlineStringsRepository == null) { throw new NullReferenceException(nameof(InlineStringsRepository)); } this._defaultLocalizationRepository = defaultLocalizationRepository; this._scenesLocalizationProvider = new ScenesLocalizationProvider(editorConfigRepository.GetInternalConfig()); this._assetsLocalizationProvider = new AssetsLocalizationProvider(); this._inlineStringsLocalizationProvider = new InlineStringsLocalizationProvider(inlineStringsRepository); }