Files
DP44/Common/DTS.Common/Classes/DSP/ScalerAttribute.cs
2026-04-17 14:55:32 -04:00

19 lines
512 B
C#

using System;
namespace DTS.Common.Classes.DSP
{
/// <summary>
/// generic attribute to store doubles, so for say scalers or ratios
/// </summary>
[AttributeUsage(AttributeTargets.Enum | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field, AllowMultiple = false)]
public class ScalerAttribute : Attribute
{
public double Scaler { get; set; }
public ScalerAttribute(double d)
{
Scaler = d;
}
}
}