Hello,
at first, thanks for amazing library.
For my reason, I want to use TaskDefinition.Triggers.Insert(0, trigger) on empty collection. But because of argument validation in Insert method, it ends by exception.
As TriggerCollection is IList, I believe it should be possible. And the .Insert(0, xxx) is working for TaskDefinition.Actions :)
Btw. the argument validation, in the Insert method, not cares about negative index value.
I do not know if this report is enough? Please ping if you want more. Or if I should try pull request?
Thanks a lot.
Hello,
at first, thanks for amazing library.
For my reason, I want to use TaskDefinition.Triggers.Insert(0, trigger) on empty collection. But because of argument validation in Insert method, it ends by exception.
As TriggerCollection is IList, I believe it should be possible. And the .Insert(0, xxx) is working for TaskDefinition.Actions :)
Btw. the argument validation, in the Insert method, not cares about negative index value.
I do not know if this report is enough? Please ping if you want more. Or if I should try pull request?
Thanks a lot.