本文整理汇总了C#中ILocalizationManager类的典型用法代码示例。如果您正苦于以下问题:C# ILocalizationManager类的具体用法?C# ILocalizationManager怎么用?C# ILocalizationManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ILocalizationManager类属于命名空间,在下文中一共展示了ILocalizationManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DlnaEntryPoint
public DlnaEntryPoint(IServerConfigurationManager config,
ILogManager logManager,
IServerApplicationHost appHost,
INetworkManager network,
ISessionManager sessionManager,
IHttpClient httpClient,
ILibraryManager libraryManager,
IUserManager userManager,
IDlnaManager dlnaManager,
IImageProcessor imageProcessor,
IUserDataManager userDataManager,
ILocalizationManager localization,
IMediaSourceManager mediaSourceManager,
ISsdpHandler ssdpHandler)
{
_config = config;
_appHost = appHost;
_network = network;
_sessionManager = sessionManager;
_httpClient = httpClient;
_libraryManager = libraryManager;
_userManager = userManager;
_dlnaManager = dlnaManager;
_imageProcessor = imageProcessor;
_userDataManager = userDataManager;
_localization = localization;
_mediaSourceManager = mediaSourceManager;
_ssdpHandler = (SsdpHandler)ssdpHandler;
_logger = logManager.GetLogger("Dlna");
}
示例2: AbpUserConfigurationBuilder
public AbpUserConfigurationBuilder(
IMultiTenancyConfig multiTenancyConfig,
ILanguageManager languageManager,
ILocalizationManager localizationManager,
IFeatureManager featureManager,
IFeatureChecker featureChecker,
IPermissionManager permissionManager,
IUserNavigationManager userNavigationManager,
ISettingDefinitionManager settingDefinitionManager,
ISettingManager settingManager,
IAbpAntiForgeryConfiguration abpAntiForgeryConfiguration,
IAbpSession abpSession,
IPermissionChecker permissionChecker)
{
_multiTenancyConfig = multiTenancyConfig;
_languageManager = languageManager;
_localizationManager = localizationManager;
_featureManager = featureManager;
_featureChecker = featureChecker;
_permissionManager = permissionManager;
_userNavigationManager = userNavigationManager;
_settingDefinitionManager = settingDefinitionManager;
_settingManager = settingManager;
_abpAntiForgeryConfiguration = abpAntiForgeryConfiguration;
_abpSession = abpSession;
_permissionChecker = permissionChecker;
}
示例3: LocalizableViewModel
public LocalizableViewModel(ILocalizationManager localizationManager)
{
Should.NotBeNull(localizationManager, "localizationManager");
_localizationManager = localizationManager;
Cultures = new[] { "en-US", "ru-RU" };
SelectedCulture = Cultures[0];
}
示例4: UserAppService
public UserAppService(IRepository<User, long> userRepository, IPermissionManager permissionManager,
ILocalizationManager localizationManager)
{
_userRepository = userRepository;
_permissionManager = permissionManager;
_localizationManager = localizationManager;
}
示例5: DummySeasonProvider
public DummySeasonProvider(IServerConfigurationManager config, ILogger logger, ILocalizationManager localization, ILibraryManager libraryManager)
{
_config = config;
_logger = logger;
_localization = localization;
_libraryManager = libraryManager;
}
示例6: DefaultErrorInfoConverter
public DefaultErrorInfoConverter(
IAbpWebCommonModuleConfiguration configuration,
ILocalizationManager localizationManager)
{
_configuration = configuration;
_localizationManager = localizationManager;
}
示例7: MissingEpisodeProvider
public MissingEpisodeProvider(ILogger logger, IServerConfigurationManager config, ILibraryManager libraryManager, ILocalizationManager localization)
{
_logger = logger;
_config = config;
_libraryManager = libraryManager;
_localization = localization;
}
示例8: PackageCreator
public PackageCreator(IFileSystem fileSystem, ILocalizationManager localization, ILogger logger, IServerConfigurationManager config, IJsonSerializer jsonSerializer)
{
_fileSystem = fileSystem;
_localization = localization;
_logger = logger;
_config = config;
_jsonSerializer = jsonSerializer;
}
示例9: OrderView
public OrderView(IPresentersFactory presentersFactory,
ILocalizationManager localizationManager,
OrderViewModel orderViewModel)
: this(localizationManager)
{
_presentersFactory = presentersFactory;
_orderViewModel = orderViewModel;
}
示例10: LookUpView
public LookUpView(ILocalizationManager localizationManager)
: this()
{
LocalizationManager = localizationManager;
_okMenuItem.Text = LocalizationManager.Localization.GetLocalizedValue(_okMenuItem.Text);
_cancelMenuItem.Text = LocalizationManager.Localization.GetLocalizedValue(_cancelMenuItem.Text);
}
示例11: LayoutController
public LayoutController(
IUserNavigationManager userNavigationManager,
ILocalizationManager localizationManager,
ILanguageManager languageManager)
{
_userNavigationManager = userNavigationManager;
_languageManager = languageManager;
}
示例12: MovieDbEpisodeImageProvider
public MovieDbEpisodeImageProvider(IHttpClient httpClient, IServerConfigurationManager configurationManager, IJsonSerializer jsonSerializer, IFileSystem fileSystem, ILocalizationManager localization)
{
_httpClient = httpClient;
_configurationManager = configurationManager;
_jsonSerializer = jsonSerializer;
_fileSystem = fileSystem;
_localization = localization;
}
示例13: ReportsService
/// <summary>
/// Initializes a new instance of the MediaBrowser.Api.Reports.ReportsService class. </summary>
/// <param name="userManager"> Manager for user. </param>
/// <param name="libraryManager"> Manager for library. </param>
/// <param name="localization"> The localization. </param>
/// <param name="activityManager"> Manager for activity. </param>
public ReportsService(IUserManager userManager, ILibraryManager libraryManager, ILocalizationManager localization, IActivityManager activityManager, IActivityRepository repo)
{
_userManager = userManager;
_libraryManager = libraryManager;
_localization = localization;
_activityManager = activityManager;
_repo = repo;
}
示例14: MissingEpisodeProvider
public MissingEpisodeProvider(ILogger logger, IServerConfigurationManager config, ILibraryManager libraryManager, ILocalizationManager localization, IFileSystem fileSystem)
{
_logger = logger;
_config = config;
_libraryManager = libraryManager;
_localization = localization;
_fileSystem = fileSystem;
}
示例15: DefaultIntroProvider
public DefaultIntroProvider(ISecurityManager security, IChannelManager channelManager, ILocalizationManager localization, IConfigurationManager serverConfig, ILibraryManager libraryManager)
{
_security = security;
_channelManager = channelManager;
_localization = localization;
_serverConfig = serverConfig;
_libraryManager = libraryManager;
}