alielie
7 天以前 e57938fbda9bff702004038f76d009422968bff5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
        }
    }
}