Esempio n. 1
0
        /// <summary>
        /// Initialises a new instance of the <see cref="HomeController" /> class.
        /// </summary>
        /// <param name="proxy"><see cref="HalSwaggerSampleHalApiApp" /> instance.</param>
        public HomeController(IHalSwaggerSampleHalApiApp proxy)
        {
            if (proxy == null)
            {
                throw new ArgumentException(nameof(proxy));
            }

            this._proxy = proxy;
        }
        /// <summary>
        /// Initialises a new instance of the <see cref="HomeController" /> class.
        /// </summary>
        /// <param name="proxy"><see cref="HalSwaggerSampleHalApiApp" /> instance.</param>
        public HomeController(IHalSwaggerSampleHalApiApp proxy)
        {
            if (proxy == null)
            {
                throw new ArgumentException(nameof(proxy));
            }

            this._proxy = proxy;
        }