static internal void Populate(PrimitiveBuiltins value, uint position)
 {
     value.ByteProperty      = AssistantSequenceGenerator.CreateByte(position + 0);
     value.ShortByteProperty = AssistantSequenceGenerator.CreateShortByte(position + 1);
     value.IntProperty       = AssistantSequenceGenerator.CreateInt(position + 2);
     value.UIntProperty      = AssistantSequenceGenerator.CreateUInt(position + 3);
     value.ShortProperty     = AssistantSequenceGenerator.CreateShort(position + 4);
     value.UShortProperty    = AssistantSequenceGenerator.CreateUShort(position + 5);
     value.LongProperty      = AssistantSequenceGenerator.CreateLong(position + 6);
     value.ULongProperty     = AssistantSequenceGenerator.CreateULong(position + 7);
     value.FloatPropertyOne  = AssistantSequenceGenerator.CreateFloat(position + 8);
     value.FloatPropertyTwo  = AssistantSequenceGenerator.CreateFloat(position + 9);
     value.DoublePropertyOne = AssistantSequenceGenerator.CreateDouble(position + 10);
     value.DoublePropertyTwo = AssistantSequenceGenerator.CreateDouble(position + 11);
     value.CharProperty      = AssistantSequenceGenerator.CreateChar(position + 12);
     value.BoolProperty      = AssistantSequenceGenerator.CreateBool(position + 13);
     value.DecimalProperty   = AssistantSequenceGenerator.CreateDecimal(position + 14);
 }
コード例 #2
0
 static internal void Populate(FloatPrimitive value, uint position)
 {
     value.Value = AssistantSequenceGenerator.CreateFloat(position);
 }