﻿/************************************************************************************
Copyright (C) JinLiwei      
All rights reserved   
Created by JinLiwei 
Created at 2017-11-24
Description :
************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppUtil
{
    /// <summary>
    /// 事件参数for begining和end
    /// </summary>
    public class ExecuteEventArgs:EventArgs
    {
        /// <summary>
        /// 命令名称
        /// </summary>
        public readonly string ExecuteName;
        /// <summary>
        /// 参数
        /// </summary>
        public readonly string Parameters;
        /// <summary>
        /// 该命令功能描述
        /// </summary>
        public readonly string FuncDesc;
        /// <summary>
        /// 用于额外参数
        /// </summary>
        public readonly object ArgsState;
        public ExecuteEventArgs(string executeName, string parameters, string funcDesc, object argState=null)
        {
            ExecuteName = executeName;
            Parameters = parameters;
            FuncDesc = funcDesc;
            ArgsState = argState;

        }
    }
    
}
