function value issue
This commit is contained in:
parent
64a12a353c
commit
fb2c62399c
2 changed files with 4 additions and 11 deletions
|
@ -8,8 +8,8 @@ namespace csmic
|
||||||
{
|
{
|
||||||
public class FunctionArgument
|
public class FunctionArgument
|
||||||
{
|
{
|
||||||
public required string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public required FunctionValue Value { get; set; }
|
public FunctionValue Value { get; set; }
|
||||||
|
|
||||||
public FunctionArgument(string name, FunctionValue fv)
|
public FunctionArgument(string name, FunctionValue fv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using csmic;
|
using csmic;
|
||||||
using System;
|
using ValueType = csmic.ValueType;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace stdlib.functions
|
namespace stdlib.functions
|
||||||
{
|
{
|
||||||
|
@ -13,10 +9,7 @@ namespace stdlib.functions
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
yield return new FunctionArgument(
|
yield return new FunctionArgument("value", new FunctionValue(ValueType.Numeric, 0m));
|
||||||
name: "value",
|
|
||||||
fv: new FunctionValue(ValueType.Numeric, 0m)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue