[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class Arithmetic.FunctionAttribute : Attribute
Any function method inside an ArithmeticRepository must be decorated with this attribute to identify it as such. The method signature must follow: TResult Method(TA a, TB b)
Constructors
Properties
Binary
#Gets the binary function specified by this attribute. This property only has a meaningful value if the Arity equals 2.
Ternary
#Gets the ternary function specified by this attribute. This property only has a meaningful value if the Arity equals 3.