test/Rapidity.Json.Test/Models/MultipleTypesModel.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Text;

namespace Rapidity.Json.Test.Models
{
    public class MultipleTypesModel
    {

        public ValueModel Single { get; set; }

        public StructModel StructModel { get; set; }

        public IEnumerable<ValueModel> List { get; set; }

        public ValueModel[] Array { get; set; }

        public IDictionary<string, ValueModel> Dictionary { get; set; }

        //[Property(Ignore = true)]
        public IEnumerable<KeyValuePair<int, ValueModel>> KeyValuePairs { get; set; }

    }

    public class ValueModel
    {
        public string StringValue { get; set; }
        public char CharValue { get; set; }
        public char? NullCharValue { get; set; }
        public byte ByteValue { get; set; }
        public byte? NullByteValue { get; set; }
        public short ShortValue { get; set; }
        public short? NullShortValue { get; set; }
        public ushort UShortValue { get; set; }
        public ushort? NullUShortValue { get; set; }
        public int IntValue { get; set; }
        public int? NullIntValue { get; set; }
        public uint UintValue { get; set; }
        public uint? NullUintValue { get; set; }
        public long LongValue { get; set; }
        public long? NullLongValue { get; set; }
        public ulong UlongValue { get; set; }
        public ulong? NullUlongValue { get; set; }
        public float FloatValue { get; set; }
        public float? NullFloatValue { get; set; }
        public double DoubleValue { get; set; }
        public double? NullDoubleValue { get; set; }
        public decimal DecimalValue { get; set; }
        public decimal? NullDecimalValue { get; set; }
        public bool BoolValue { get; set; }
        public bool? NullBoolValue { get; set; }
        public Guid GuidValue { get; set; }
        public Guid? NullGuidValue { get; set; }
        public DateTime DateTimeValue { get; set; }
        public DateTime? NullDateTimeValue { get; set; }
        public DateTimeOffset DateTimeOffsetValue { get; set; }
        public DateTimeOffset? NullDateTimeOffsetValue { get; set; }
        public DBNull DBNullValue { get; set; }
        public DBNull? NullDBNullValue { get; set; }

后面还有 10 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。