Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GetRemoteEndPoints" /> class.
        /// </summary>
        /// <param name="inventory">The current inventory.</param>
        public GetRemoteEndPoints(RemoteServiceInventory inventory)
        {
            Argument.NotNull(inventory, nameof(inventory));

            _inventory = inventory;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpRouter"/> class.
 /// </summary>
 /// <param name="context">The context accessor.</param>
 /// <param name="endPoints">The remote service inventory.</param>
 public HttpRouter(IHttpContextAccessor context, RemoteServiceInventory endPoints)
 {
     _context   = context;
     _endPoints = endPoints;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpRouter"/> class.
 /// </summary>
 /// <param name="endPoints">The remote service inventory.</param>
 public HttpRouter(RemoteServiceInventory endPoints) : this(null, endPoints)
 {
 }