当前位置: 首页>>代码示例>>C#>>正文


C# IApplicationSettings类代码示例

本文整理汇总了C#中IApplicationSettings的典型用法代码示例。如果您正苦于以下问题:C# IApplicationSettings类的具体用法?C# IApplicationSettings怎么用?C# IApplicationSettings使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IApplicationSettings类属于命名空间,在下文中一共展示了IApplicationSettings类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ShipTimeClientRepository

 /// <summary>
 /// Initializes a new instance of the <see cref="ShipTimeClientRepository" /> class.
 /// </summary>
 /// <param name="applicationSettings">The application settings.</param>
 public ShipTimeClientRepository(IApplicationSettings applicationSettings)
 {
     if (applicationSettings != null)
     {
         this.shipTimeClient = DIContainer.Instance.Resolve<IShipTimeClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSettings.ShipTimeServiceBaseAddress) });
     }
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:ShipTimeClientRepository.cs

示例2: Chat

 public Chat(IApplicationSettings settings, IResourceProcessor resourceProcessor, IChatService service, IJabbrRepository repository)
 {
     _settings = settings;
     _resourceProcessor = resourceProcessor;
     _service = service;
     _repository = repository;
 }
开发者ID:BDDCloud,项目名称:JabbR,代码行数:7,代码来源:Chat.cs

示例3: LoginController

 public LoginController(IPlatformProxy platformProxy,IPlatformRoutes platformRoutes,IApplicationSettings applicationSettings, IAppWallServices appWallServices)
 {
     _platformProxy = platformProxy;
     _platformRoutes = platformRoutes;
     _applicationSettings = applicationSettings;
     _appWallServices = appWallServices;
 }
开发者ID:LioraT,项目名称:DreamBoards,代码行数:7,代码来源:LoginController.cs

示例4: DepartureExceptionClientRepository

 /// <summary>
 /// Initializes a new instance of the <see cref="DepartureExceptionClientRepository"/> class.
 /// </summary>
 /// <param name="applicationSettings">The application settings.</param>
 public DepartureExceptionClientRepository(IApplicationSettings applicationSettings)
 {
     if (applicationSettings != null)
     {
         this.departureExceptionClient = DIContainer.Instance.Resolve<IDepartureExceptionClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSettings.ReportingServiceBaseAddress) });
     }
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:DepartureExceptionClientRepository.cs

示例5: GuestClientRepository

 /// <summary>
 /// Initializes a new instance of the <see cref="GuestClientRepository" /> class.
 /// </summary>
 /// <param name="applicationSettings">The application settings.</param>
 public GuestClientRepository(IApplicationSettings applicationSettings)
 {
     if (applicationSettings != null)
     {
         this.guestReservationClient = DIContainer.Instance.Resolve<IGuestReservationClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSettings.GuestServiceBaseAddress) });
     }
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:GuestClientRepository.cs

示例6: CoreMiniSqlQueryConfiguration

 /// <summary>Initializes a new instance of the <see cref="CoreMiniSqlQueryConfiguration"/> class.</summary>
 /// <param name="settings">The settings.</param>
 public CoreMiniSqlQueryConfiguration(IApplicationSettings settings)
 {
     _settings = settings;
     _settingsWrapper = new CoreMiniSqlQuerySettingsWrapper(_settings);
     _settingsWrapper.PropertyChanged += ProxyPropertyChanged;
     _isDirty = false;
 }
开发者ID:ClusterReply,项目名称:minisqlquery,代码行数:9,代码来源:CoreMiniSqlQueryConfiguration.cs

示例7: CBPSummaryReportClientRepository

 /// <summary>
 /// Initializes a new instance of the <see cref="CBPSummaryReportClientRepository"/> class.
 /// </summary>
 /// <param name="applicationSettings">The application settings.</param>
 public CBPSummaryReportClientRepository(IApplicationSettings applicationSettings)
 {
     if (applicationSettings != null)
     {
         this.cbpSummaryClient = DIContainer.Instance.Resolve<ICbpSummaryClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSettings.ReportingServiceBaseAddress) });
     }
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:CBPSummaryReportClientRepository.cs

示例8: LandingController

 public LandingController(IPlatformProxy platformProxy, IBoardsRepository boardsRepository, IPlatformSettings platformSettings, IApplicationSettings applicationSettings)
 {
     _platformProxy = platformProxy;
     _boardsRepository = boardsRepository;
     _platformSettings = platformSettings;
     _applicationSettings = applicationSettings;
 }
开发者ID:gillyb,项目名称:DreamBoards,代码行数:7,代码来源:LandingController.cs

示例9: VisitorManifestClientRepository

 /// <summary>
 /// Initializes a new instance of the <see cref="VisitorManifestClientRepository" /> class.
 /// </summary>
 /// <param name="applicationSettings">The application settings.</param>
 public VisitorManifestClientRepository(IApplicationSettings applicationSettings)
 {
     if (applicationSettings != null)
     {
         this.visitorManifestClient = DIContainer.Instance.Resolve<IVisitorManifestClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSettings.ReportingServiceBaseAddress) });
     }
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:VisitorManifestClientRepository.cs

示例10: GetContentProviders

 private static IList<IContentProvider> GetContentProviders(IApplicationSettings settings)
 {
     // Use MEF to locate the content providers in this assembly
     var compositionContainer = new CompositionContainer(new AssemblyCatalog(typeof(ResourceProcessor).Assembly));
     compositionContainer.ComposeExportedValue(settings);
     return compositionContainer.GetExportedValues<IContentProvider>().ToList();
 }
开发者ID:csainty,项目名称:JabbR,代码行数:7,代码来源:ResourceProcessor.cs

示例11: PlatformRoutes

 public PlatformRoutes(IApplicationSettings applicationSettings,IPlatformSettings platformSettings)
 {
     //RewardsLogin = platformSettings.PlatformHomePage + String.Format("/secured/app/{0}/rewards-sign-up", applicationSettings.AppId);
     Login = platformSettings.SywWebSiteUrl + String.Format("/secured/app/{0}/login", applicationSettings.AppId);
     RegularCanvas = String.Format("/app/{0}/r/", applicationSettings.AppId);
     LandingPage = String.Format("/app/{0}/l/", applicationSettings.AppId);
 }
开发者ID:Guy1982,项目名称:PYW-app-ShopGroup,代码行数:7,代码来源:IPlatformRoutes.cs

示例12: MembershipValidator

 public MembershipValidator(IApplicationSettings applicationSettings, IEncryptor encryptor)
 {
     _applicationSettings = applicationSettings;
     _encryptor = encryptor;
     _passwordRegEx = _applicationSettings.PasswordStrengthRegularExpression;
     _requiresUniqueEmail = _applicationSettings.RequiresUniqueEmail;
 }
开发者ID:kduberstein,项目名称:MvcMusicStore,代码行数:7,代码来源:MembershipValidator.cs

示例13: FormatEntry

        public static string FormatEntry(ISerialization serialization, IApplicationSettings applicationSettings, object obj)
        {
            if (obj == null)
                return null;

            return serialization.ToJson(obj, new[] { "Password" }, applicationSettings.LogJsonFormatted);
        }
开发者ID:justinconnell,项目名称:remi,代码行数:7,代码来源:FormatLogHelper.cs

示例14: AuthenticateUserClientRepository

 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticateUserClientRepository" /> class.
 /// </summary>
 /// <param name="applicationSettings">The application settings.</param>
 public AuthenticateUserClientRepository(IApplicationSettings applicationSettings)
 {
     if (applicationSettings != null)
     {
         this.authenticateUserClient = DIContainer.Instance.Resolve<IAuthenticateUserClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSettings.AuthenticationServiceBaseAddress) });
     }
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:AuthenticateUserClientRepository.cs

示例15: PersonStatusClientRepository

 /// <summary>
 /// Initializes a new instance of the <see cref="PersonStatusClientRepository" /> class.
 /// </summary>
 /// <param name="applicationSettings">The application settings.</param>
 public PersonStatusClientRepository(IApplicationSettings applicationSettings)
 {
     if (applicationSettings != null)
     {
         this.personStatusClient = DIContainer.Instance.Resolve<IPersonStatusesClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSettings.PersonStatusServiceBaseAddress) });
     }
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:PersonStatusClientRepository.cs


注:本文中的IApplicationSettings类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。