/// <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) { }
/// <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)); }
public CustomControllerDiscoverer(IActionDiscoverer actionDiscoverer, ILiteApiOptionsAccessor optionsRetriever) : base(actionDiscoverer, optionsRetriever) { }