Exemplo n.º 1
0
 private void UnpackValueOfPrimitive(MsgPack.Unpacker unpacker, MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_PrimitiveReadWriteField unpackingContext, int indexOfItem, int itemsCount)
 {
     MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_PrimitiveReadWriteField, int> unpackHelperParameters = default(MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_PrimitiveReadWriteField, int>);
     unpackHelperParameters.Unpacker         = unpacker;
     unpackHelperParameters.UnpackingContext = unpackingContext;
     unpackHelperParameters.Serializer       = this._serializer0;
     unpackHelperParameters.ItemsCount       = itemsCount;
     unpackHelperParameters.Unpacked         = indexOfItem;
     unpackHelperParameters.TargetObjectType = typeof(int);
     unpackHelperParameters.MemberName       = "Primitive";
     unpackHelperParameters.DirectRead       = this.MsgPack_Serialization_UnpackHelpers_UnpackInt32ValueDelegate;
     unpackHelperParameters.Setter           = this.this_SetUnpackedValueOfPrimitiveDelegate;
     MsgPack.Serialization.UnpackHelpers.UnpackValueTypeValue(ref unpackHelperParameters);
 }
Exemplo n.º 2
0
 private void UnpackValueOfValue(MsgPack.Unpacker unpacker, UnpackingContext unpackingContext, int indexOfItem, int itemsCount)
 {
     MsgPack.Serialization.UnpackValueTypeValueParameters <UnpackingContext, System.DateTime> unpackHelperParameters = default(MsgPack.Serialization.UnpackValueTypeValueParameters <UnpackingContext, System.DateTime>);
     unpackHelperParameters.Unpacker         = unpacker;
     unpackHelperParameters.UnpackingContext = unpackingContext;
     unpackHelperParameters.Serializer       = this._serializer0;
     unpackHelperParameters.ItemsCount       = itemsCount;
     unpackHelperParameters.Unpacked         = indexOfItem;
     unpackHelperParameters.TargetObjectType = typeof(System.DateTime);
     unpackHelperParameters.MemberName       = "Value";
     unpackHelperParameters.DirectRead       = null;
     unpackHelperParameters.Setter           = this.this_SetUnpackedValueOfValueDelegate;
     MsgPack.Serialization.UnpackHelpers.UnpackValueTypeValue(ref unpackHelperParameters);
 }
Exemplo n.º 3
0
 private void UnpackValueOfTwo(MsgPack.Unpacker unpacker, MsgPack.Serialization.ComplexTypeWithOneBaseOrder unpackingContext, int indexOfItem, int itemsCount)
 {
     MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.ComplexTypeWithOneBaseOrder, int> unpackHelperParameters0 = default(MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.ComplexTypeWithOneBaseOrder, int>);
     unpackHelperParameters0.Unpacker         = unpacker;
     unpackHelperParameters0.UnpackingContext = unpackingContext;
     unpackHelperParameters0.Serializer       = this._serializer0;
     unpackHelperParameters0.ItemsCount       = itemsCount;
     unpackHelperParameters0.Unpacked         = indexOfItem;
     unpackHelperParameters0.TargetObjectType = typeof(int);
     unpackHelperParameters0.MemberName       = "Two";
     unpackHelperParameters0.DirectRead       = this.MsgPack_Serialization_UnpackHelpers_UnpackInt32ValueDelegate;
     unpackHelperParameters0.Setter           = this.this_SetUnpackedValueOfTwoDelegate;
     MsgPack.Serialization.UnpackHelpers.UnpackValueTypeValue(ref unpackHelperParameters0);
 }
Exemplo n.º 4
0
 private void UnpackValueOfTimeStamp(MsgPack.Unpacker unpacker, MsgPack.Serialization.ComplexTypeWithNonSerialized unpackingContext, int indexOfItem, int itemsCount)
 {
     MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.ComplexTypeWithNonSerialized, System.DateTime> unpackHelperParameters2 = default(MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.ComplexTypeWithNonSerialized, System.DateTime>);
     unpackHelperParameters2.Unpacker         = unpacker;
     unpackHelperParameters2.UnpackingContext = unpackingContext;
     unpackHelperParameters2.Serializer       = this._serializer3;
     unpackHelperParameters2.ItemsCount       = itemsCount;
     unpackHelperParameters2.Unpacked         = indexOfItem;
     unpackHelperParameters2.TargetObjectType = typeof(System.DateTime);
     unpackHelperParameters2.MemberName       = "TimeStamp";
     unpackHelperParameters2.DirectRead       = null;
     unpackHelperParameters2.Setter           = this.this_SetUnpackedValueOfTimeStampDelegate;
     MsgPack.Serialization.UnpackHelpers.UnpackValueTypeValue(ref unpackHelperParameters2);
 }
 private void UnpackValueOfField1(MsgPack.Unpacker unpacker, MsgPack.Serialization.VersioningTestTarget unpackingContext, int indexOfItem, int itemsCount)
 {
     MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.VersioningTestTarget, int> unpackHelperParameters = default(MsgPack.Serialization.UnpackValueTypeValueParameters <MsgPack.Serialization.VersioningTestTarget, int>);
     unpackHelperParameters.Unpacker         = unpacker;
     unpackHelperParameters.UnpackingContext = unpackingContext;
     unpackHelperParameters.Serializer       = this._serializer0;
     unpackHelperParameters.ItemsCount       = itemsCount;
     unpackHelperParameters.Unpacked         = indexOfItem;
     unpackHelperParameters.TargetObjectType = typeof(int);
     unpackHelperParameters.MemberName       = "Field1";
     unpackHelperParameters.DirectRead       = this.MsgPack_Serialization_UnpackHelpers_UnpackInt32ValueDelegate;
     unpackHelperParameters.Setter           = this.this_SetUnpackedValueOfField1Delegate;
     MsgPack.Serialization.UnpackHelpers.UnpackValueTypeValue(ref unpackHelperParameters);
 }
 private void UnpackValueOfProperty(MsgPack.Unpacker unpacker, MsgPack.Serialization.NonGenericNonCollectionType unpackingContext, int indexOfItem, int itemsCount) {
     MsgPack.Serialization.UnpackValueTypeValueParameters<MsgPack.Serialization.NonGenericNonCollectionType, int> unpackHelperParameters = default(MsgPack.Serialization.UnpackValueTypeValueParameters<MsgPack.Serialization.NonGenericNonCollectionType, int>);
     unpackHelperParameters.Unpacker = unpacker;
     unpackHelperParameters.UnpackingContext = unpackingContext;
     unpackHelperParameters.Serializer = this._serializer0;
     unpackHelperParameters.ItemsCount = itemsCount;
     unpackHelperParameters.Unpacked = indexOfItem;
     unpackHelperParameters.TargetObjectType = typeof(int);
     unpackHelperParameters.MemberName = "Property";
     unpackHelperParameters.DirectRead = this.MsgPack_Serialization_UnpackHelpers_UnpackInt32ValueDelegate;
     unpackHelperParameters.Setter = this.this_SetUnpackedValueOfPropertyDelegate;
     MsgPack.Serialization.UnpackHelpers.UnpackValueTypeValue(ref unpackHelperParameters);
 }