public override void WriteComplex(RemObjects.SDK.Serializer aSerializer) { if (aSerializer.RecordStrictOrder) { aSerializer.WriteUtf8String("FieldA", FieldA); aSerializer.WriteInt64("FieldB", FieldB); aSerializer.WriteBoolean("FieldC", FieldC); } else { aSerializer.WriteUtf8String("FieldA", FieldA); aSerializer.WriteInt64("FieldB", FieldB); aSerializer.WriteBoolean("FieldC", FieldC); } }
public static void Invoke_MethodWithResult(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) { string param1 = @__Message.ReadUtf8String("param1"); int param2 = @__Message.ReadInt32("param2"); bool Result; Result = ((ITestService)(@__Instance)).MethodWithResult(param1, param2); @__Message.InitializeResponseMessage(@__ServerChannelInfo, "TestLibrary", "TestService", "MethodWithResultResponse"); @__Message.WriteBoolean("Result", Result); @__Message.FinalizeMessage(); @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault; }