Exemple #1
0
 public SetupController(
     IAssetStore assetStore,
     IOptions <MyUIOptions> uiOptions,
     IOptions <MyIdentityOptions> identityOptions,
     IUrlGenerator urlGenerator,
     IUserService userService)
 {
     this.assetStore      = assetStore;
     this.identityOptions = identityOptions.Value;
     this.uiOptions       = uiOptions.Value;
     this.urlGenerator    = urlGenerator;
     this.userService     = userService;
 }
Exemple #2
0
 public UIController(IOptions <MyUIOptions> uiOptions)
 {
     this.uiOptions = uiOptions.Value;
 }