예제 #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;
        }
예제 #2
0
        /// <summary>
        /// This constructor takes the attribute data and creates the holder.
        /// </summary>
        /// <param name="attr">The HostAppServerAttribute attribute data.</param>
        public AppServerHolder(AppServerAttribute attr)
        {
            Priority = attr.Priority;
            Name = attr.Name;
            ServerType = attr.ServerType;
            mServiceEnabled = attr.Enabled;
            CanEdit = true;
            ErrorDescription = "";
            ErrorInStart = false;

            ServiceEnabled = true;

            ServiceStatus = XimuraServiceStatus.NotStarted;
        }
예제 #3
0
 /// <summary>
 /// This is the default constructor for the service.
 /// </summary>
 public AppServerInstaller(AppServerAttribute attr)
 {
 }