mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-23 16:26:35 +08:00
传输优化
This commit is contained in:
31
CommonMethods/VisionToolAttribute.cs
Normal file
31
CommonMethods/VisionToolAttribute.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* ==============================================================================
|
||||
*
|
||||
* Filename: VisionToolAttribute
|
||||
* Description:
|
||||
*
|
||||
* Version: 1.0
|
||||
* Created: 2021/2/26 13:46:51
|
||||
*
|
||||
* Author: liu.wenjie
|
||||
*
|
||||
* ==============================================================================
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CommonMethods
|
||||
{
|
||||
//自定义Attribute
|
||||
public sealed class VisionToolAttribute : Attribute
|
||||
{
|
||||
public ToolType ToolType { get; private set; }
|
||||
public VisionToolAttribute(ToolType toolType)
|
||||
{
|
||||
ToolType = toolType;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user