You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							72 lines
						
					
					
						
							1.5 KiB
						
					
					
				
			
		
		
	
	
							72 lines
						
					
					
						
							1.5 KiB
						
					
					
				using Kingo.PluginServiceInterface.Model; | 
						|
using System; | 
						|
using System.Collections.Generic; | 
						|
using System.Linq; | 
						|
using System.Text; | 
						|
 | 
						|
namespace Kingo.PluginServiceInterface | 
						|
{ | 
						|
    public interface IWizardFramework | 
						|
    { | 
						|
        /// <summary> | 
						|
        /// 传递参数 | 
						|
        /// </summary> | 
						|
        object Parameter { get; set; } | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 描述信息 | 
						|
        /// </summary> | 
						|
        string Description { get; set; } | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 标题信息 | 
						|
        /// </summary> | 
						|
        string Caption { get; set; } | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 校验向导是否成功与否 | 
						|
        /// </summary> | 
						|
        bool IsFinalSuccess { get; set; } | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 是否跳过当前操作 | 
						|
        /// </summary> | 
						|
        bool IsSkip { get; set; } | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 执行方法 | 
						|
        /// </summary> | 
						|
        /// <returns></returns> | 
						|
        bool Execute(); | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 初始化 | 
						|
        /// </summary> | 
						|
        void Intializing(bool IsSkip = false); | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 校验 | 
						|
        /// </summary> | 
						|
        /// <returns></returns> | 
						|
        bool Validating(); | 
						|
 | 
						|
        /// <summary> | 
						|
        /// 当前步返回时执行方法 | 
						|
        /// </summary> | 
						|
        void Back(); | 
						|
    } | 
						|
 | 
						|
    public interface IWizardFrameworkExeState : IWizardFramework | 
						|
    { | 
						|
        Action<object> ExeStateCallBacK { get; set; } | 
						|
    } | 
						|
    public enum ExeState | 
						|
    { | 
						|
        //开始执行 | 
						|
        Start, | 
						|
        //执行失败 | 
						|
        Fail, | 
						|
        //执行完成 | 
						|
        Success | 
						|
    } | 
						|
}
 | 
						|
 |