On 1/5/17, 9:29 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote:
>Alex, > >Understand, but where I should put these code ? ConstantBinding should >handle such case ? Yes, ConstantBinding should handle it. There may be a similar issue with binding to static variables in other classes, but I wouldn't worry about that just now. It sounds like in this case the source is null when the code gets to: if (sourcePropertyName in source) So, I would check just before to see if the sourceID is a class. Thanks, -Alex