thismightbeauser's status on Wednesday, 21-Aug-19 18:32:12 UTC

  1. @adiwan What if you did something like setValue<T, U>(T caller, Function<T, U> valFunc) where T : InterfaceOrClassAllowed , getValue<T, U>(T caller, Function<T, U> valFunc) where T : InterfaceOrClassAllowed . The lamba tells the function where to retrieve or store the value from, and the method doesn't have to know where the value comes from, but it guarantees it came from the other object.

    Wednesday, 21-Aug-19 18:32:12 UTC from web in context