Example #1
0
        public GuidArray()
        {
            valueVirtual = new ValueVirtual
            {
                Values = Values
            };

            value = new Value
            {
                Values = Values
            };

            memoryStream = new MemoryStream();
            memoryStream.SetLength(1024);
        }
Example #2
0
        public IntArray()
        {
            valueVirtual = new ValueVirtual
            {
                Values = new[] { 1, 2, 3, 4, 5, 6, 7, 8 }
            };

            value = new Value
            {
                Values = new[] { 1, 2, 3, 4, 5, 6, 7, 8 }
            };

            memoryStream = new MemoryStream();
            memoryStream.SetLength(1024);
        }
        public BoolIntStringGuidNullable()
        {
            valueVirtual = new ValueVirtual
            {
                Bool     = true,
                Int      = 2,
                String   = "some",
                NullBool = true,
                Id       = new Guid("35ED53A9-A0C2-4C42-A4FA-CDB0A5E8E51B")
            };

            value = new Value
            {
                Bool     = true,
                Int      = 2,
                String   = "some",
                NullBool = true,
                Id       = new Guid("35ED53A9-A0C2-4C42-A4FA-CDB0A5E8E51B")
            };

            memoryStream = new MemoryStream();
            memoryStream.SetLength(1024);
        }