예제 #1
0
        /// <summary>
        /// Constructor. 
        /// </summary>
        /// <param name="port"></param>
        /// <param name="parameters"></param>
        public Application(int port, ApplicationDirectives parameters)
        {
            Port = port;
            if (parameters == null) parameters = new ApplicationDirectives();

            Parameters = parameters;
        }
예제 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="port"></param>
 public Application(int port)
 {
     Port = port;
     Parameters = new ApplicationDirectives();
 }