Nebulae Posted September 16, 2017 Share 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. Quote Link to comment Share on other sites More sharing options...
Explv Posted September 16, 2017 Share Posted September 16, 2017 On 9/16/2017 at 2:12 PM, 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. Expand It's marked for internal use only. It's fine to use it though. Quote Link to comment Share on other sites More sharing options...