本文整理汇总了C#中IConfigurationRepository类的典型用法代码示例。如果您正苦于以下问题:C# IConfigurationRepository类的具体用法?C# IConfigurationRepository怎么用?C# IConfigurationRepository使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IConfigurationRepository类属于命名空间,在下文中一共展示了IConfigurationRepository类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Request
public Request(IConfigurationRepository configuration, IRelyingPartyRepository relyingPartyRepository,
IDelegationRepository delegationRepository)
{
_configuration = configuration;
RelyingPartyRepository = relyingPartyRepository;
DelegationRepository = delegationRepository;
}
开发者ID:azhuang88,项目名称:IdentityServer,代码行数:7,代码来源:Request.cs
示例2: UrlController
public UrlController(IConfigurationManager configurationManager,
IConfigurationRepository configRepository,
IFrontMatterRepository frontMatterRepository,
IMarkupProcessorFactory markupProcessorFactory)
: base(configurationManager)
{
if (configRepository == null)
{
throw new ArgumentNullException("configRepository");
}
if (frontMatterRepository == null)
{
throw new ArgumentNullException("frontMatterRepository");
}
if (markupProcessorFactory == null)
{
throw new ArgumentNullException("markupProcessorFactory");
}
ConfigRepository = configRepository;
FrontMatterRepository = frontMatterRepository;
MarkupProcessorFactory = markupProcessorFactory;
}
开发者ID:typeset,项目名称:typeset,代码行数:25,代码来源:UrlController.cs
示例3: AdministrationService
public AdministrationService(
IUserRepository userRepository,
IArticleRepository articleRepository,
IRepository<ReviewTemplate> reviewTemplateRepository,
IArticleReviewerRepository articleReviewerRepository,
IRepository<AttributeDataType> dataTypesRepository,
IRepository<Category> categoryRepository,
IRepository<Degree> degreeRepository,
IRepository<Page> pagesRepository,
IRepository<Language> languageRepository,
IConfigurationRepository configurationRepository,
IRepository<ErrorLog> errorLogRepository
)
{
this.userRepository = userRepository;
this.articleRepository = articleRepository;
this.reviewTemplateRepository = reviewTemplateRepository;
this.articleReviewerRepository = articleReviewerRepository;
this.dataTypesRepository = dataTypesRepository;
this.categoryRepository = categoryRepository;
this.degreeRepository = degreeRepository;
this.pagesRepository = pagesRepository;
this.languageRepository = languageRepository;
this.configurationRepository = configurationRepository;
this.errorLogRepository = errorLogRepository;
callResult = new CallResult();
}
开发者ID:alebustillo,项目名称:SciReview,代码行数:28,代码来源:AdministrationService.cs
示例4: OAuth2TokenController
public OAuth2TokenController(IUserRepository userRepository, IConfigurationRepository configurationRepository, IClientsRepository clientsRepository, ICodeTokenRepository refreshTokenRepository)
{
UserRepository = userRepository;
ConfigurationRepository = configurationRepository;
ClientsRepository = clientsRepository;
RefreshTokenRepository = refreshTokenRepository;
}
开发者ID:balajircs,项目名称:Thinktecture.IdentityServer.v2,代码行数:7,代码来源:OAuth2TokenController.cs
示例5: CartController
public CartController(ICoffeeRepository coffeeRepo, IConfigurationRepository configRepo)
{
this.coffeeRepo = coffeeRepo;
this.configRepo = configRepo;
this.M = configRepo.Configuration.Where(c => c.Name.Trim() == "m").FirstOrDefault().Value;
this.X = configRepo.Configuration.Where(c => c.Name.Trim() == "x").FirstOrDefault().Value;
}
开发者ID:KeepRollin,项目名称:CoffeeAppRepo,代码行数:7,代码来源:CartController.cs
示例6: MenuViewModel
public MenuViewModel(IConfigurationRepository configuration)
{
this.ShowOAuthClients = configuration.OAuth2.Enabled;
this.ShowOAuthTokens =
configuration.OAuth2.Enabled &&
(configuration.OAuth2.EnableCodeFlow || configuration.OAuth2.EnableResourceOwnerFlow);
}
开发者ID:dbeaulieu,项目名称:Thinktecture.IdentityServer.v2,代码行数:7,代码来源:MenuViewModel.cs
示例7: UploadBotController
public UploadBotController(ITeamManagementCommands teamCommands, IFormsAuthentication formsAuthentication, IConfigurationRepository configurationRepository, MatchStarter matchStarter)
{
_teamCommands = teamCommands;
_formsAuthentication = formsAuthentication;
_configurationRepository = configurationRepository;
_matchStarter = matchStarter;
}
开发者ID:aaronjensen,项目名称:compete,代码行数:7,代码来源:UploadBotController.cs
示例8: HomeController
public HomeController(ITeamManagementQueries teamManagementQueries,
IConfigurationRepository configurationRepository)
{
_teamManagementQueries = teamManagementQueries;
_configurationRepository = configurationRepository;
ViewData["inCloud"] = RockPaperAzure.AzureHelper.IsRunningInCloud;
}
开发者ID:mcknz,项目名称:csharp-rock-paper-azure,代码行数:7,代码来源:HomeController.cs
示例9: SystemNetEmailService
public SystemNetEmailService(IConfigurationRepository configurationRepository, ILoggingService loggingService)
{
if (configurationRepository == null) throw new ArgumentNullException("ConfigurationRepository");
if (loggingService == null) throw new ArgumentNullException("LoggingService");
_configurationRepository = configurationRepository;
_loggingService = loggingService;
}
开发者ID:FCMA-OSS,项目名称:RewardRecognition,代码行数:7,代码来源:SystemNetEmailService.cs
示例10: NMultifileConfiguration
internal NMultifileConfiguration(IConfigurationRepository repository,
INSectionMergerRegistry mergerRegistry, IList<string> fileNames)
{
this.repository = repository;
this.mergerRegistry = mergerRegistry;
this.fileNames = fileNames ?? new List<string>();
}
开发者ID:KoVaLL,项目名称:NConfig,代码行数:7,代码来源:NMultifileConfiguration.cs
示例11: BotsController
public BotsController(ITeamManagementCommands teamCommands, ITeamRepository teamRepository, IConfigurationRepository configurationRepository, ILeaderboardRepository leaderboardRepository)
{
_teamCommands = teamCommands;
_teamRepository = teamRepository;
_configurationRepository = configurationRepository;
_leaderboardRepository = leaderboardRepository;
}
开发者ID:mcknz,项目名称:csharp-rock-paper-azure,代码行数:7,代码来源:BotsController.cs
示例12: ProfileApiController
public ProfileApiController(IUserManagementRepository userManagementRepository, IConfigurationRepository configurationRepository, IRelyingPartyRepository relyingPartyRepository)
{
UserManagementRepository = userManagementRepository;
//ClientRepository = clientRepository;
ConfigurationRepository = configurationRepository;
RelyingPartyRepository = relyingPartyRepository;
}
开发者ID:gotshoo,项目名称:Thinktecture.IdentityServer.v2,代码行数:7,代码来源:ProfileApiController.cs
示例13: ProductService
public ProductService(
IProductRepository productRepository,
ICacheStorage cacheStorage,
IConfigurationRepository configurationRepository,
ILoggingService loggingService)
{
if (productRepository == null)
{
throw new ArgumentNullException("ProductRepository");
}
if (cacheStorage == null)
{
throw new ArgumentNullException("CacheStorage");
}
if (configurationRepository == null)
{
throw new ArgumentException("Configuration");
}
if (loggingService == null)
{
throw new ArgumentException("Logging");
}
this._productRepository = productRepository;
this._cacheStorage = cacheStorage;
this._configurationRepository = configurationRepository;
this._loggingService = loggingService;
}
开发者ID:richardkundl,项目名称:SampleDI-IoC,代码行数:31,代码来源:ProductService.cs
示例14: OAuth2AuthorizeController
public OAuth2AuthorizeController(IConfigurationRepository configuration, IClientsRepository client, IRelyingPartyRepository rpRepository, ICodeTokenRepository codeTokenRepository)
{
Configuration = configuration;
Clients = client;
RPRepository = rpRepository;
CodeTokenRepository = codeTokenRepository;
}
开发者ID:cotepatrice,项目名称:Thinktecture.IdentityServer.v2,代码行数:7,代码来源:OAuth2AuthorizeController.cs
示例15: AuthenticationController
public AuthenticationController(IProtocolDiscovery defaultProtocolDiscovery, IFederationContext federationContext, IConfigurationRepository configuration)
{
this.protocolDiscovery = defaultProtocolDiscovery;
this.federationContext = federationContext;
this.configuration = configuration;
this.multiProtocolServiceProperties = this.configuration.RetrieveMultiProtocolIssuer();
}
开发者ID:southworks,项目名称:protocol-bridge-claims-provider,代码行数:7,代码来源:AuthenticationController.cs
示例16: ConfigurationController
public ConfigurationController(IConfigurationRepository configurationRepository,
ILogger<ConfigurationController> logger,
IAuthenticationService authenticationService)
{
this._configurationRepository = configurationRepository;
this._logger = logger;
this._authenticationService = authenticationService;
}
开发者ID:sebug,项目名称:ConfigurationService,代码行数:8,代码来源:ConfigurationController.cs
示例17: TestController
public TestController(
IConfigurationRepository repo,
Services.IWorkCenterService workCenterService
)
{
this.repo = repo;
this.workCenterService = workCenterService;
}
开发者ID:blaw2422,项目名称:PERK,代码行数:8,代码来源:TestController.cs
示例18: InitialSetupController
public InitialSetupController(IConfigurationRepository configurationRepository, ISignin signin, ITeamManagementCommands teamCommands)
{
_configurationRepository = configurationRepository;
_signin = signin;
_teamCommands = teamCommands;
ViewData["inCloud"] = RockPaperAzure.AzureHelper.IsRunningInCloud;
}
开发者ID:mcknz,项目名称:csharp-rock-paper-azure,代码行数:8,代码来源:InitialSetupController.cs
示例19: UserAuthenticationService
public UserAuthenticationService(IUserRepository userRepository, ISessionStateRepository sessionStateRepository, IFormsAuthenticationService formsAuthenticationService, IConfigurationRepository configurationRepository, IAvatar avatar)
{
UserRepository = userRepository;
SessionStateRepository = sessionStateRepository;
FormsAuthenticationService = formsAuthenticationService;
ConfigurationRepository = configurationRepository;
Avatar = avatar;
}
开发者ID:JohnCai,项目名称:agilewizard,代码行数:8,代码来源:UserAuthenticationService.cs
示例20: AppViewModel
public AppViewModel(IStateMachine<States,Events> stateMachine, CheckEngine engine, IConfigurationRepository repository)
{
StateMachine = stateMachine;
this.repository = repository;
SelectConfigurationCommand = new RelayCommand(SelectConfiguration, () => stateMachine.CanFire(Events.SelectConfigurationSource));
RunChecksCommand = new RelayCommand(RunChecks, () => stateMachine.CanFire(Events.RunChecks));
}
开发者ID:oramus,项目名称:devcheck,代码行数:8,代码来源:AppViewModel.cs
注:本文中的IConfigurationRepository类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论