Hello everybody, is it possible to understand in which order the editing events are triggered on a group of edited Featureclasses \ Table ? In this example I have 4 featureclasses called A,B,C and Z.

To register the change events I used the following code (taking the layers in toc order).
protected override void OnClick()
{
QueuedTask.Run(() =>
{
//Listen for row events on a layer
IEnumerable<FeatureLayer> layers = MapView.Active.Map.GetLayersAsFlattenedList().Where(layer => layer is FeatureLayer).Select(x=>(FeatureLayer)x);
if (lst.Count == 0)
{
foreach (var fl in layers)
{
try
{
var fc = fl.GetFeatureClass();
//These events are fired once ~per feature~,
//per table
SubscriptionToken rowCreateToken = RowChangedEvent.Subscribe(OnRowChanged, fc);
lst.Add(rowCreateToken);
}
catch (Exception e)
{
}
}
}
else
{
lst.ForEach(x => RowChangedEvent.Unsubscribe(x));
lst.Clear();
}
//subscribe to row events
// var rowDeleteToken = RowDeletedEvent.Subscribe(OnRowDeleted, layerTable);
});
}
private Guid _currentRowChangedGuid = Guid.Empty;
private void OnRowChanged(RowChangedEventArgs args)
{
try
{
Debug.WriteLine(args.Row.GetTable().GetName().Split('.')[1]);
return;
}catch(Exception e){
return;
}
}
I take a group of features belonging to A,B,C and Z and move them (using the move tool). The return order of the modified features does not follow the registration, but it would appear to be a random order ( in this case Z,C,B,A). How is the return order of these events defined?