コード例 #1
0
 static internal void Populate(ImmutableFour value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateBool(position + 0);
     value.Prop1 = AssistantSequenceGenerator.CreateString(position + 1);
     value.Prop2 = CSharpRefImpl.CSharpModel.ComplexBuiltinsSequenceGenerator.Create(position + 2);
     value.Prop3 = CSharpRefImpl.CSharpModel.ImmutableOnePrimitiveSequenceGenerator.Create(position + 3);
 }
コード例 #2
0
 static internal void Populate(AllObjectCollections value, uint position)
 {
     value.Prop0  = AssistantSequenceGenerator.CreateArrayList(position + 0);
     value.Prop1  = AssistantSequenceGenerator.CreateIEnumerable(position + 1);
     value.Prop2  = AssistantSequenceGenerator.CreateICollection(position + 2);
     value.Prop3  = AssistantSequenceGenerator.CreateIList(position + 3);
     value.Prop4  = AssistantSequenceGenerator.CreateHashtable(position + 4);
     value.Prop5  = AssistantSequenceGenerator.CreateIDictionary(position + 5);
     value.Prop6  = AssistantSequenceGenerator.CreateHybridDictionary(position + 6);
     value.Prop7  = AssistantSequenceGenerator.CreateNameValueCollection(position + 7);
     value.Prop8  = AssistantSequenceGenerator.CreateBitArray(position + 8);
     value.Prop9  = AssistantSequenceGenerator.CreateQueue(position + 9);
     value.Prop10 = AssistantSequenceGenerator.CreateStack(position + 10);
     value.Prop11 = AssistantSequenceGenerator.CreateSortedList(position + 11);
 }
 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);
 }
コード例 #4
0
 static internal void Populate(ShortPrimitive value, uint position)
 {
     value.Value = AssistantSequenceGenerator.CreateShort(position);
 }
 static internal void Populate(ImmutableOnePrimitive value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateBool(position + 0);
 }
コード例 #6
0
 static internal void Populate(NonFinalOrphan value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateInt(position + 0);
 }
コード例 #7
0
 static internal void Populate(Association value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateInt(position + 0);
     value.Prop1 = CSharpRefImpl.CSharpModel.NoPropertiesSequenceGenerator.Create(position + 1);
     value.Prop2 = CSharpRefImpl.CSharpModel.ColourTypesSequenceGenerator.Create(position + 2);
 }
コード例 #8
0
 static internal void Populate(ChildOfAChild1 value, uint position)
 {
     CSharpRefImpl.CSharpModel.ThirdChildWithMembersSequenceGenerator.Populate(value, position);
     value.Prop2 = AssistantSequenceGenerator.CreateInt(position + 0);
 }
コード例 #9
0
 static internal void Populate(OneProperty value, uint position)
 {
     value.Property = AssistantSequenceGenerator.CreateInt(position + 0);
 }
コード例 #10
0
 static internal void Populate(ParentOutside value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateInt(position + 0);
 }
コード例 #11
0
 static internal void Populate(DoublePrimitive value, uint position)
 {
     value.Value = AssistantSequenceGenerator.CreateDouble(position);
 }
コード例 #12
0
 static internal void Populate(Descendant3 value, uint position)
 {
     CSharpRefImpl.CSharpModel.Descendant1SequenceGenerator.Populate(value, position);
     value.Prop0 = AssistantSequenceGenerator.CreateBool(position + 0);
 }
コード例 #13
0
 static internal void Populate(ComplexBuiltins value, uint position)
 {
     value.ObjectProperty = AssistantSequenceGenerator.CreateObject(position + 0);
     value.StringProperty = AssistantSequenceGenerator.CreateString(position + 1);
 }
コード例 #14
0
 static internal void Populate(ImmutableTwo value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateBool(position + 0);
     value.Prop1 = AssistantSequenceGenerator.CreateString(position + 1);
 }
コード例 #15
0
 static internal void Populate(ChildViaSettings value, uint position)
 {
     CSharpRefImpl.CSharpModel.ParentWithMembersSequenceGenerator.Populate(value, position);
     value.Prop1 = AssistantSequenceGenerator.CreateInt(position + 0);
 }