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 required string Name { get; set; }
|
||||
public required FunctionValue Value { get; set; }
|
||||
public string Name { get; set; }
|
||||
public FunctionValue Value { get; set; }
|
||||
|
||||
public FunctionArgument(string name, FunctionValue fv)
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using csmic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ValueType = csmic.ValueType;
|
||||
|
||||
namespace stdlib.functions
|
||||
{
|
||||
|
@ -13,10 +9,7 @@ namespace stdlib.functions
|
|||
{
|
||||
get
|
||||
{
|
||||
yield return new FunctionArgument(
|
||||
name: "value",
|
||||
fv: new FunctionValue(ValueType.Numeric, 0m)
|
||||
);
|
||||
yield return new FunctionArgument("value", new FunctionValue(ValueType.Numeric, 0m));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue