Files
test_demo/MX-PD-盘古 - new/PanGu.DieBonderApp/MainShell/Recipe/Models/RecipeEventArgs.cs

38 lines
988 B
C#
Raw Normal View History

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()
{
}
}
}