Bracket.Hosting.SystemWeb.SimpleWebServer.SimpleWebServer C# (CSharp) Метод

SimpleWebServer() публичный Метод

public SimpleWebServer ( ) : System
Результат System
        public SimpleWebServer(params string[] listenerUris)
        {
            if (!HttpListener.IsSupported)
            {
                throw new NotSupportedException("The HttpListener class is not supported on this operating system.");
            }
            if (listenerUris == null || listenerUris.Length < 1)
            {
                throw new ArgumentNullException("listenerUris");
            }
            UniqueId = Guid.NewGuid();
            _listener = new HttpListener();
            Array.ForEach(listenerUris,prefixUri=> _listener.Prefixes.Add(prefixUri));
        }