22 lines
577 B
C#
22 lines
577 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Plugin.Cowain.Driver.Attributes;
|
|
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
|
public class DeviceParamAttribute : Attribute
|
|
{
|
|
public Type Param { get; }
|
|
public Type Control { get; }
|
|
public Type DialogViewModel { get; }
|
|
public DeviceParamAttribute(Type paramType, Type control, Type dialog)
|
|
{
|
|
Param = paramType;
|
|
Control = control;
|
|
DialogViewModel = dialog;
|
|
}
|
|
}
|