19 lines
512 B
C#
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;
|
|
}
|
|
}
|
|
}
|