source code checkin

This commit is contained in:
Brett Hewitson 2021-01-07 16:23:23 +10:00
parent 5f8fb2c825
commit 7e57b72e35
675 changed files with 168433 additions and 0 deletions

26
src/NeXtVdf/VdfDecimal.cs Normal file
View file

@ -0,0 +1,26 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NeXt.Vdf
{
/// <summary>
/// A VdfValue that represents a double
/// </summary>
public sealed class VdfDecimal : VdfValue
{
public VdfDecimal(string name) : base(name)
{
Type = VdfValueType.Decimal;
}
public VdfDecimal(string name, decimal value) : this(name)
{
Content = value;
}
public decimal Content { get; set; }
}
}