Timeline for Filtering Gantt chart data involving hierarchical DTOs
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2017 at 17:59 | comment | added | Igor Soloydenko | Let us continue this discussion in chat. | |
Apr 4, 2017 at 17:53 | comment | added | Igor Soloydenko | @OrthoHomeDefense I just updated the answer with a bit more polished variant of code | |
Apr 4, 2017 at 17:52 | history | edited | Igor Soloydenko | CC BY-SA 3.0 |
Polished the code as per t3chb0t's comment
|
Apr 4, 2017 at 16:38 | comment | added | Train | @IgorSoloydenko :) Even so, This is a great example to work off of. | |
Apr 4, 2017 at 16:30 | comment | added | Igor Soloydenko | @OrthoHomeDefense once again. please carefully check the code for correctness. Assume that I wrote the sketch while being drunk :) | |
Apr 4, 2017 at 16:28 | comment | added | Train | I have to say this is pretty much exactly what I wanted but didn't know how to accomplish. Thank you very much! | |
Apr 4, 2017 at 16:26 | vote | accept | Train | ||
Apr 4, 2017 at 16:14 | comment | added | Igor Soloydenko | @t3chb0t I agree! Nulls are evil in many many cases including this one. The thing you just mentioned is a nice new trick for me -- will use it in my project. P.S. I really need to get to my compiler so that I don't post answers with Disclaimers. | |
Apr 4, 2017 at 16:12 | history | edited | Igor Soloydenko | CC BY-SA 3.0 |
typo
|
Apr 4, 2017 at 16:09 | comment | added | t3chb0t |
I'd made the IProjectTree<T> derive from IEnumerable<T> so that you don't have to check the targetTree.Children == null but just use !targetTree.Any() etc. It's easier to work without nulls and I think here they can be avoided.
|
|
Apr 4, 2017 at 15:57 | history | answered | Igor Soloydenko | CC BY-SA 3.0 |