mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
source code checkin
This commit is contained in:
parent
5f8fb2c825
commit
7e57b72e35
675 changed files with 168433 additions and 0 deletions
26
src/NeXtVdf/VdfDecimal.cs
Normal file
26
src/NeXtVdf/VdfDecimal.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue