Exemplo n.º 1
0
 public DefaultUrlManager(IOptions<SmidgeOptions> options, ISmidgeConfig config, IHasher hasher, IUrlHelper urlHelper)
 {
     _hasher = hasher;
     _urlHelper = urlHelper;
     _options = options.Value.UrlOptions;
     _config = config;
 }
Exemplo n.º 2
0
 public DefaultUrlManager(IOptions <SmidgeOptions> options, IHasher hasher, IRequestHelper requestHelper)
 {
     _hasher        = hasher;
     _requestHelper = requestHelper;
     _options       = options.Value.UrlOptions;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor sets defaults
 /// </summary>
 public SmidgeOptions()
 {
     UrlOptions = new UrlManagerOptions();
 }
Exemplo n.º 4
0
 public DefaultUrlManager(IOptions<SmidgeOptions> options, ISmidgeConfig config, IHasher hasher)
 {
     _hasher = hasher;
     _options = options.Options.UrlOptions;
     _config = config;
 }
Exemplo n.º 5
0
 public DefaultUrlManager(IOptions <SmidgeOptions> options, ISmidgeConfig config, IHasher hasher)
 {
     _hasher  = hasher;
     _options = options.Value.UrlOptions;
     _config  = config;
 }