Ejemplo n.º 1
0
        /// <summary>
        /// Creates the handler.
        /// </summary>
        public FacilityGeneratorApiHttpHandler(IFacilityGeneratorApi service, ServiceHttpHandlerSettings settings)
            : base(settings)
        {
            if (service == null)
            {
                throw new ArgumentNullException("service");
            }

            m_service = service;
        }
Ejemplo n.º 2
0
 public FacilityGeneratorApiHttpHandler(IFacilityGeneratorApi service, ServiceHttpHandlerSettings?settings = null)
     : base(settings, s_defaults)
 {
     m_service = service ?? throw new ArgumentNullException(nameof(service));
 }
Ejemplo n.º 3
0
 public HomeController(IFacilityGeneratorApi api)
 {
     m_api = api;
 }