示例#1
0
 public PermissionController(IOptions <FirstVersion> options)
 {
     _urlSettings = options.Value;
 }
示例#2
0
 public HouseController(IOptions <FirstVersion> options)
 {
     _url = options.Value;
 }
 public RoleController(IOptions <FirstVersion> options)
 {
     _urlSettings = options.Value;
 }
 public HomeController(IMemoryCache memoryCache, IOptions <FirstVersion> options)
 {
     _cache       = memoryCache;
     _urlSettings = options.Value;
 }