using System; namespace Deltares.Standard.Specifications { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = true)] public sealed class MaximumAttribute : Attribute { private readonly double attribteValue; public MaximumAttribute(double maxValue) { this.attribteValue = maxValue; } public double AttributeValue { get { return this.attribteValue; } } } }