using System;
|
using System.Runtime.InteropServices;
|
|
namespace DeviceService.Core
|
{
|
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
[ComVisible(true)]
|
public class DriverDescAttribute : Attribute
|
{
|
public string Type { get; private set; }
|
public string Brand { get; private set; }
|
|
public Type ClassType { get; private set; }
|
|
public DriverDescAttribute(string Type, string Brand, Type ClassType = null)
|
{
|
this.Type = Type;
|
this.Brand = Brand;
|
this.ClassType = ClassType;
|
}
|
}
|
}
|