21 lines
336 B
C#
21 lines
336 B
C#
using static System.AttributeTargets;
|
|
|
|
#nullable disable
|
|
|
|
namespace InnovEnergy.App.Collector.Influx;
|
|
|
|
[AttributeUsage(Property)]
|
|
public class FieldAttribute : Attribute
|
|
{
|
|
public FieldAttribute(Type type)
|
|
{
|
|
Type = type;
|
|
}
|
|
|
|
public FieldAttribute()
|
|
{
|
|
Type = null;
|
|
}
|
|
|
|
public Type Type { get; }
|
|
} |