init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user