public override void ExecuteReplication(Connection connection)
            {
                var componentDataArray  = ReplicationComponentGroup.GetComponentArray <SpatialOSExhaustiveRepeated>();
                var spatialEntityIdData = ReplicationComponentGroup.GetComponentDataArray <SpatialEntityId>();

                for (var i = 0; i < componentDataArray.Length; i++)
                {
                    var componentData    = componentDataArray[i];
                    var entityId         = spatialEntityIdData[i].EntityId;
                    var hasPendingEvents = false;

                    if (componentData.DirtyBit || hasPendingEvents)
                    {
                        var update = new global::Improbable.Gdk.Tests.ExhaustiveRepeated.Update();
                        update.SetField2(new global::Improbable.Collections.List <float>(componentData.Field2));
                        update.SetField4(new global::Improbable.Collections.List <int>(componentData.Field4));
                        update.SetField5(new global::Improbable.Collections.List <long>(componentData.Field5));
                        update.SetField6(new global::Improbable.Collections.List <double>(componentData.Field6));
                        update.SetField7(new global::Improbable.Collections.List <string>(componentData.Field7));
                        update.SetField8(new global::Improbable.Collections.List <uint>(componentData.Field8));
                        update.SetField9(new global::Improbable.Collections.List <ulong>(componentData.Field9));
                        update.SetField10(new global::Improbable.Collections.List <int>(componentData.Field10));
                        update.SetField11(new global::Improbable.Collections.List <long>(componentData.Field11));
                        update.SetField12(new global::Improbable.Collections.List <uint>(componentData.Field12));
                        update.SetField13(new global::Improbable.Collections.List <ulong>(componentData.Field13));
                        update.SetField14(new global::Improbable.Collections.List <int>(componentData.Field14));
                        update.SetField15(new global::Improbable.Collections.List <long>(componentData.Field15));
                        update.SetField16(new global::Improbable.Collections.List <global::Improbable.EntityId>(componentData.Field16.Select(nativeInternalObject => new global::Improbable.EntityId(nativeInternalObject))));
                        update.SetField17(new global::Improbable.Collections.List <global::Improbable.Gdk.Tests.SomeType>(componentData.Field17.Select(nativeInternalObject => global::Generated.Improbable.Gdk.Tests.SomeType.ToSpatial(nativeInternalObject))));
                        SendComponentUpdate(connection, entityId, update);

                        componentData.DirtyBit = false;
                        view.SetComponentObject(entityId, componentData);
                    }
                }
            }
 public static void SendComponentUpdate(Connection connection, long entityId, global::Improbable.Gdk.Tests.ExhaustiveRepeated.Update update)
 {
     connection.SendComponentUpdate(new global::Improbable.EntityId(entityId), update);
 }