20 lines
		
	
	
		
			597 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			597 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Diagnostics.CodeAnalysis;
 | 
						|
using System.Linq;
 | 
						|
using System.Text;
 | 
						|
using System.Threading.Tasks;
 | 
						|
 | 
						|
namespace Deedy.Activity
 | 
						|
{
 | 
						|
    public interface IActivity
 | 
						|
    {
 | 
						|
        public Runtime? Runtime { get; }
 | 
						|
        public void ReadyToWorking(IElement? element = null, Output? output = null);
 | 
						|
        public void ReadyToEditing(Runtime runtime);
 | 
						|
        public void ReadyToRunning(Runtime runtime);
 | 
						|
        public WorkMode WorkMode => Runtime?.WorkMode ?? WorkMode.Waiting;
 | 
						|
        public ExpandoMapping ExpandoMapping { get; set; }
 | 
						|
    }
 | 
						|
}
 |