Adopt .NET naming and structure: CsMic.* namespaces, PascalCase projects and solution; update Coco namespace; update package id and NuGet publish target; adjust project refs and tests.

This commit is contained in:
Jordan Wages 2025-08-20 20:10:34 -05:00
commit 0a67e6e2cc
24 changed files with 54 additions and 49 deletions

View file

@ -1,33 +0,0 @@
using csmic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace csmic
{
public class FunctionValue
{
public FunctionValueType Type { get; set; }
public object? Value { get; set; }
public static readonly FunctionValue TRUE = new FunctionValue(FunctionValueType.Numeric, 1m);
public static readonly FunctionValue FALSE = new FunctionValue(FunctionValueType.Numeric, 0m);
public static readonly FunctionValue NONE = new FunctionValue(FunctionValueType.None, null);
public static readonly FunctionValue NUMBER = new FunctionValue(FunctionValueType.Numeric, 0m);
public static readonly FunctionValue STRING = new FunctionValue(FunctionValueType.String, string.Empty);
public FunctionValue()
{
this.Type = FunctionValueType.None;
this.Value = null;
}
public FunctionValue(FunctionValueType type, object? value)
{
this.Type = type;
this.Value = value;
}
}
}