Class FiniteAttribute
An attribute that indicates a finite value for a parameter. This means the value should not be NaN or infinity.
Inherited Members
Namespace: SpiceSharp.Attributes
Assembly: SpiceSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class FiniteAttribute : Attribute
Remarks
If this attribute is used on a private field, the source generator will automatically generate a property.
Constructors
FiniteAttribute()
Initializes a new instance of the LessThanAttribute class.
Declaration
public FiniteAttribute()