Ejemplo n.º 1
0
        /// <summary>
        /// This constructor takes the appserver attributes collection as a parameter.
        /// </summary>
        /// <param name="attrs">The attribute collection.</param>
        public WindowAppServers(AppServerAttribute[] attrs)
            : this()
        {
            appServerHolders = new AppServerCollection(attrs);

            this.contAppServers.ItemsSource = appServerHolders;
        }
Ejemplo n.º 2
0
		/// <summary>
		/// This is the default constructor for the application
		/// </summary>
		public AppServerService()
		{
            appServerHolders = new AppServerCollection(GetType());
            AppDomain.CurrentDomain.UnhandledException+=new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
		}