iotgateway/Plugins/PluginInterface/DriverInfoAttribute.cs
2021-12-12 14:55:48 +08:00

24 lines
607 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PluginInterface
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class DriverInfoAttribute: Attribute
{
public string Name { get; }
public string Copyright { get; }
public string Version { get; }
public DriverInfoAttribute(string name, string version, string copyRight)
{
Name = name;
Version = version;
Copyright = copyRight;
}
}
}