Nebulae Posted September 16, 2017 Posted September 16, 2017 Hey, so as I was making my script I realized that the exchangeContext method is deprecated I wanted to know why it's deprecated and if there is a cleaner way to achieve the same result. I know I can pass the MethodProvider from my main class into my other classes and use it that way but I was wondering if there was a cleaner way that doesn't involve cramming the constructor with stuff.
Explv Posted September 16, 2017 Posted September 16, 2017 10 minutes ago, Nebulae said: Hey, so as I was making my script I realized that the exchangeContext method is deprecated I wanted to know why it's deprecated and if there is a cleaner way to achieve the same result. I know I can pass the MethodProvider from my main class into my other classes and use it that way but I was wondering if there was a cleaner way that doesn't involve cramming the constructor with stuff. It's marked for internal use only. It's fine to use it though.