ClassSln
Implements the SLN financial function that calculates straight-line depreciation of an asset for a single period.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Sln : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionSln
Inherited Members
Constructors
Sln()
Initializes a new SLN function instance for calculating depreciation using the straight-line method based on cost, salvage value, and useful life.
Declaration
public Sln()
Fields
FunctionName
Function name identifier for the SLN function.
Properties
FunctionInfo
Metadata describing the function's signature, arguments, and return format for use by the expression evaluator.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Virtual method evaluating the function with System.Object arguments array.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides