Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ControllerDiscoverer"/> class.
 /// </summary>
 /// <param name="actionDiscoverer">Instance of <see cref="IActionDiscoverer"/></param>
 /// <exception cref="System.ArgumentNullException"></exception>
 public ControllerDiscoverer(IActionDiscoverer actionDiscoverer)
 {
     _actionDiscoverer = actionDiscoverer ?? throw new ArgumentNullException(nameof(actionDiscoverer));
 }
 public CustomControllerDiscoverer(IActionDiscoverer actionDiscoverer) : base(actionDiscoverer)
 {
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ControllerDiscoverer"/> class.
 /// </summary>
 /// <param name="actionDiscoverer">Instance of <see cref="IActionDiscoverer"/></param>
 /// <exception cref="System.ArgumentNullException"></exception>
 public ControllerDiscoverer(IActionDiscoverer actionDiscoverer, ILiteApiOptionsAccessor optionsRetriever)
 {
     _actionDiscoverer = actionDiscoverer ?? throw new ArgumentNullException(nameof(actionDiscoverer));
     _optionsRetriever = optionsRetriever ?? throw new ArgumentNullException(nameof(_optionsRetriever));
 }
Esempio n. 4
0
 public CustomControllerDiscoverer(IActionDiscoverer actionDiscoverer, ILiteApiOptionsAccessor optionsRetriever) : base(actionDiscoverer, optionsRetriever)
 {
 }