添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MainShell.Recipe.Models
|
||||
{
|
||||
public class RecipeEventArgs : EventArgs
|
||||
{
|
||||
public string RecipeName { get; set; }
|
||||
public string RecipeDescription { get; set; } = string.Empty;
|
||||
public RecipeEventArgs(string recipeName, string recipeDescription = "")
|
||||
{
|
||||
RecipeName = recipeName;
|
||||
RecipeDescription = recipeDescription;
|
||||
}
|
||||
public RecipeEventArgs()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class RecipeRenameEventArgs : EventArgs
|
||||
{
|
||||
public string OldRecipeName { get; set; }
|
||||
public string NewRecipeName { get; set; }
|
||||
public RecipeRenameEventArgs(string oldRecipeName, string newRecipeName)
|
||||
{
|
||||
OldRecipeName = oldRecipeName;
|
||||
NewRecipeName = newRecipeName;
|
||||
}
|
||||
public RecipeRenameEventArgs()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user