本文整理汇总了C#中ILocalizationManager类的典型用法代码示例。如果您正苦于以下问题:C# ILocalizationManager类的具体用法?C# ILocalizationManager怎么用?C# ILocalizationManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ILocalizationManager类属于命名空间,在下文中一共展示了ILocalizationManager类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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");
}
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:30,代码来源:DlnaEntryPoint.cs
示例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;
}
开发者ID:yuzukwok,项目名称:aspnetboilerplate,代码行数:27,代码来源:AbpUserConfigurationBuilder.cs
示例3: LocalizableViewModel
public LocalizableViewModel(ILocalizationManager localizationManager)
{
Should.NotBeNull(localizationManager, "localizationManager");
_localizationManager = localizationManager;
Cultures = new[] { "en-US", "ru-RU" };
SelectedCulture = Cultures[0];
}
开发者ID:Fezzer,项目名称:MugenMvvmToolkit.Samples,代码行数:7,代码来源:LocalizableViewModel.cs
示例4: UserAppService
public UserAppService(IRepository<User, long> userRepository, IPermissionManager permissionManager,
ILocalizationManager localizationManager)
{
_userRepository = userRepository;
_permissionManager = permissionManager;
_localizationManager = localizationManager;
}
开发者ID:SpeedSX,项目名称:Polex,代码行数:7,代码来源:UserAppService.cs
示例5: DummySeasonProvider
public DummySeasonProvider(IServerConfigurationManager config, ILogger logger, ILocalizationManager localization, ILibraryManager libraryManager)
{
_config = config;
_logger = logger;
_localization = localization;
_libraryManager = libraryManager;
}
开发者ID:mtlott,项目名称:MediaBrowser.Plugins.Anime,代码行数:7,代码来源:DummySeasonProvider.cs
示例6: DefaultErrorInfoConverter
public DefaultErrorInfoConverter(
IAbpWebCommonModuleConfiguration configuration,
ILocalizationManager localizationManager)
{
_configuration = configuration;
_localizationManager = localizationManager;
}
开发者ID:vytautask,项目名称:aspnetboilerplate,代码行数:7,代码来源:DefaultErrorInfoConverter.cs
示例7: MissingEpisodeProvider
public MissingEpisodeProvider(ILogger logger, IServerConfigurationManager config, ILibraryManager libraryManager, ILocalizationManager localization)
{
_logger = logger;
_config = config;
_libraryManager = libraryManager;
_localization = localization;
}
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:7,代码来源:MissingEpisodeProvider.cs
示例8: PackageCreator
public PackageCreator(IFileSystem fileSystem, ILocalizationManager localization, ILogger logger, IServerConfigurationManager config, IJsonSerializer jsonSerializer)
{
_fileSystem = fileSystem;
_localization = localization;
_logger = logger;
_config = config;
_jsonSerializer = jsonSerializer;
}
开发者ID:t-andre,项目名称:Emby,代码行数:8,代码来源:PackageCreator.cs
示例9: OrderView
public OrderView(IPresentersFactory presentersFactory,
ILocalizationManager localizationManager,
OrderViewModel orderViewModel)
: this(localizationManager)
{
_presentersFactory = presentersFactory;
_orderViewModel = orderViewModel;
}
开发者ID:galievruslan,项目名称:mss-mobile,代码行数:8,代码来源:OrderView.cs
示例10: LookUpView
public LookUpView(ILocalizationManager localizationManager)
: this()
{
LocalizationManager = localizationManager;
_okMenuItem.Text = LocalizationManager.Localization.GetLocalizedValue(_okMenuItem.Text);
_cancelMenuItem.Text = LocalizationManager.Localization.GetLocalizedValue(_cancelMenuItem.Text);
}
开发者ID:galievruslan,项目名称:mss-mobile,代码行数:8,代码来源:LookUpView.cs
示例11: LayoutController
public LayoutController(
IUserNavigationManager userNavigationManager,
ILocalizationManager localizationManager,
ILanguageManager languageManager)
{
_userNavigationManager = userNavigationManager;
_languageManager = languageManager;
}
开发者ID:abdllhbyrktr,项目名称:aspnetboilerplate-templates,代码行数:8,代码来源:LayoutController.cs
示例12: MovieDbEpisodeImageProvider
public MovieDbEpisodeImageProvider(IHttpClient httpClient, IServerConfigurationManager configurationManager, IJsonSerializer jsonSerializer, IFileSystem fileSystem, ILocalizationManager localization)
{
_httpClient = httpClient;
_configurationManager = configurationManager;
_jsonSerializer = jsonSerializer;
_fileSystem = fileSystem;
_localization = localization;
}
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:8,代码来源:MovieDbEpisodeImageProvider.cs
示例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;
}
开发者ID:paul-777,项目名称:Emby,代码行数:14,代码来源:ReportsService.cs
示例14: MissingEpisodeProvider
public MissingEpisodeProvider(ILogger logger, IServerConfigurationManager config, ILibraryManager libraryManager, ILocalizationManager localization, IFileSystem fileSystem)
{
_logger = logger;
_config = config;
_libraryManager = libraryManager;
_localization = localization;
_fileSystem = fileSystem;
}
开发者ID:paul-777,项目名称:Emby,代码行数:8,代码来源:MissingEpisodeProvider.cs
示例15: DefaultIntroProvider
public DefaultIntroProvider(ISecurityManager security, IChannelManager channelManager, ILocalizationManager localization, IConfigurationManager serverConfig, ILibraryManager libraryManager)
{
_security = security;
_channelManager = channelManager;
_localization = localization;
_serverConfig = serverConfig;
_libraryManager = libraryManager;
}
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:8,代码来源:DefaultIntroProvider.cs
示例16: ApplicationLanguageTextManager
/// <summary>
/// Initializes a new instance of the <see cref="ApplicationLanguageTextManager"/> class.
/// </summary>
public ApplicationLanguageTextManager(
ILocalizationManager localizationManager,
IRepository<ApplicationLanguageText, long> applicationTextRepository,
IUnitOfWorkManager unitOfWorkManager)
{
_localizationManager = localizationManager;
_applicationTextRepository = applicationTextRepository;
_unitOfWorkManager = unitOfWorkManager;
}
开发者ID:Zbun,项目名称:Gld.Activity.Project,代码行数:12,代码来源:ApplicationLanguageTextManager.cs
示例17: LocalizationScriptManager
public LocalizationScriptManager(
ILocalizationManager localizationManager,
ICacheManager cacheManager,
ILanguageManager languageManager)
{
_localizationManager = localizationManager;
_cacheManager = cacheManager;
_languageManager = languageManager;
}
开发者ID:vytautask,项目名称:aspnetboilerplate,代码行数:9,代码来源:LocalizationScriptManager.cs
示例18: CheckErrors
/// <summary>
/// Checks errors of given <see cref="IdentityResult"/> and throws <see cref="UserFriendlyException"/> if it's not succeeded.
/// </summary>
/// <param name="identityResult">Identity result to check</param>
/// <param name="localizationManager">Localization manager to localize error messages</param>
public static void CheckErrors(this IdentityResult identityResult, ILocalizationManager localizationManager)
{
if (identityResult.Succeeded)
{
return;
}
throw new UserFriendlyException(identityResult.LocalizeErrors(localizationManager));
}
开发者ID:Zbun,项目名称:Gld.Activity.Project,代码行数:14,代码来源:IdentityResultExtensions.cs
示例19: Updater
public Updater(TargetConfig targetConfig,
IConfigurationManager configurationManager,
ILocalizationManager localizationManager)
: this()
{
_targetConfig = targetConfig;
_configurationManager = configurationManager;
_localizationManager = localizationManager;
}
开发者ID:galievruslan,项目名称:mss-mobile,代码行数:9,代码来源:Updater.cs
示例20: IowVariableAppService
public IowVariableAppService(
IIowManager iowManager,
ITagManager tagManager,
ILocalizationManager localizationManager)
{
_iowManager = iowManager;
_tagManager = tagManager;
_localizationManager = localizationManager;
}
开发者ID:JRChristian,项目名称:AssetManager,代码行数:9,代码来源:IowVariableAppService.cs
注:本文中的ILocalizationManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论