Example #1
0
        public DataTable ParseLog(string computer, string log, string site)
        {
            DataTable             dataTable;
            UtilityIISLogArgument utilityIISLogArgument;

            utilityIISLogArgument = new UtilityIISLogArgument(computer, log, site);
            UtilityIISLog.ParseLog
            (
                utilityIISLogArgument,
                out dataTable
            );
            return(dataTable);
        }
        ///<summary>IISLog_SelectedIndexChanged</summary>
        public void IISLog_SelectedIndexChanged(object sender, EventArgs evArgs)
        {
            String                iisLog  = (string)IISLog.SelectedItem;
            String                iisSite = (string)IISSite.SelectedItem;
            DataTable             parseLog;
            UtilityIISLogArgument utilityIISLogArgument = new UtilityIISLogArgument(Computer.Text, iisLog, iisSite);

            UtilityIISLog.ParseLog
            (
                utilityIISLogArgument,
                out parseLog
            );
            LogParser.DataSource = parseLog;
        }