Initial commit to new repository

This commit is contained in:
2026-04-03 18:22:19 +09:00
commit 4458bb0f52
7672 changed files with 452440 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace AxCopilot.ViewModels;
public class PromptTemplateRow : INotifyPropertyChanged
{
private string _name = "";
private string _content = "";
private string _icon = "\ue8bd";
public string Name
{
get
{
return _name;
}
set
{
_name = value;
OnPropertyChanged("Name");
}
}
public string Content
{
get
{
return _content;
}
set
{
_content = value;
OnPropertyChanged("Content");
OnPropertyChanged("Preview");
}
}
public string Icon
{
get
{
return _icon;
}
set
{
_icon = value;
OnPropertyChanged("Icon");
}
}
public string Preview => (Content.Length > 60) ? (Content.Substring(0, 57).Replace("\n", " ") + "…") : Content.Replace("\n", " ");
public event PropertyChangedEventHandler? PropertyChanged;
protected void OnPropertyChanged([CallerMemberName] string? n = null)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(n));
}
}