添加项目文件。
This commit is contained in:
22
Szmedi.Test/ShortcutRepAttribute.cs
Normal file
22
Szmedi.Test/ShortcutRepAttribute.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Szmedi.RvKits.Mvvm.Attributes
|
||||
{
|
||||
/// <summary>
|
||||
/// 多个快捷键使用#分割
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
class ShortcutRepAttribute : Attribute
|
||||
{
|
||||
public ShortcutRepAttribute(string shortcuts)
|
||||
{
|
||||
Shortcuts = shortcuts;
|
||||
}
|
||||
|
||||
public string Shortcuts { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user