CreateInt() публичный статический Метод

public static CreateInt ( uint position ) : int
position uint
Результат int
 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(Descendant2 value, uint position)
 {
     Dogen.TestModels.CSharpModel.BaseSequenceGenerator.Populate(value, position);
     value.Prop0 = AssistantSequenceGenerator.CreateInt(position + 0);
 }
Пример #3
0
 static internal void Populate(ParentOutside value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateInt(position + 0);
 }
 static internal void Populate(ThirdChildWithMembers value, uint position)
 {
     Dogen.TestModels.CSharpModel.ParentWithMembersSequenceGenerator.Populate(value, position);
     value.Prop1 = AssistantSequenceGenerator.CreateInt(position + 0);
 }
Пример #5
0
 static internal void Populate(OneProperty value, uint position)
 {
     value.Property = AssistantSequenceGenerator.CreateInt(position + 0);
 }
 static internal void Populate(Association value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateInt(position + 0);
     value.Prop1 = Dogen.TestModels.CSharpModel.NoPropertiesSequenceGenerator.Create(position + 1);
     value.Prop2 = Dogen.TestModels.CSharpModel.ColourTypesSequenceGenerator.Create(position + 2);
 }
 static internal void Populate(NonFinalOrphan value, uint position)
 {
     value.Prop0 = AssistantSequenceGenerator.CreateInt(position + 0);
 }
Пример #8
0
 static internal void Populate(IntPrimitive value, uint position)
 {
     value.Value = AssistantSequenceGenerator.CreateInt(position);
 }