var lines = DrawObjects.Where(x => x is Line ); part of an anonymous async method, triggered with the TriggerCustomEvent() method.
DrawObjects contains thousands of objects( including arrows, text and rectangles and lines) when this line runs. It returns different results when is in debug mode vs release mode, and either way, it does not return the real amount or lines I have in my chart. I have a similar line to return the rectangles on a collection, and that line works as expected( at least better than the code for the lines). Any idea on why this happens?
Thank you.
Comment