public void DisposeOnCompletion_WithStructuralChanges(SupportsDisposeOnCompletion c)
 {
     Entities.WithStructuralChanges().WithDisposeOnCompletion(c).ForEach((ref EcsTestFloatData _) => { c.CheckCanRead(); }).Run();
 }
            public void DisposeOnCompletion(SupportsDisposeOnCompletion c, ScheduleType scheduleType)
            {
                switch (scheduleType)
                {
                case ScheduleType.Run:
                    Entities.WithDisposeOnCompletion(c).ForEach((ref EcsTestFloatData _) => { c.CheckCanRead(); }).Run();
                    break;

                case ScheduleType.Schedule:
                    Entities.WithDisposeOnCompletion(c).ForEach((ref EcsTestFloatData _) => { c.CheckCanRead(); }).Schedule(default).Complete();
                    break;

                case ScheduleType.ScheduleParallel:
                    Entities.WithReadOnly(c).WithDisposeOnCompletion(c).ForEach((ref EcsTestFloatData _) => { c.CheckCanRead(); }).ScheduleParallel(default).Complete();
                    break;
                }
            }