コード例 #1
0
 public EnableAuthenticatorModel(
     UserManager <ApplicationUser> userManager,
     ILogger <EnableAuthenticatorModel> logger,
     UrlEncoder urlEncoder,
     IOptions <UserDbContextConfiguration> userDbContextConfiguration = null,
     IOptions <UserInterfaceConfiguration> userInterfaceConfig        = null)
     : base(userDbContextConfiguration)
 {
     _userManager         = userManager;
     _logger              = logger;
     _urlEncoder          = urlEncoder;
     _userInterfaceConfig = userInterfaceConfig?.Value;
 }
コード例 #2
0
ファイル: TabiConfiguration.cs プロジェクト: vplme/tabi-app
 public TabiConfiguration(LayeredConfiguration layeredConfiguration) : base(layeredConfiguration)
 {
     App                = new AppConfiguration(this);
     MobileCenter       = new MobileCenterConfiguration(this);
     Notifications      = new NotificationsConfiguration(this);
     Support            = new SupportConfiguration(this);
     SensorMeasurements = new SensorMeasurementsConfiguration(this);
     StopResolver       = new StopResolverConfiguration(this);
     UserInterface      = new UserInterfaceConfiguration(this);
     Logging            = new LoggingConfiguration(this);
     Api                = new ApiConfiguration(this);
     Motive             = new MotiveConfiguration(this);
     TransportMode      = new TransportationModeConfiguration(this);
 }