Page 1 of 1

How to hide a method from the Recorder?

Posted: Fri May 10, 2019 1:02 pm
by MJesper
Hi, sometimes I want a private method in the recorder's user code class and I dont want the person using the recorder to access the method. How do I do that? Thanks

Re: How to hide a method from the Recorder?

Posted: Fri May 10, 2019 2:23 pm
by odklizec
Hi,

I may be wrong, but I don't think there is currently a way to hide the user code method? Even if you declare the method as private, it will still be accessible in that particular recording.

Re: How to hide a method from the Recorder?

Posted: Fri May 10, 2019 3:23 pm
by MJesper
I found that if you create a base class and extend from it and use "private" then they wont be exposed to the recorder :)

Re: How to hide a method from the Recorder?

Posted: Fri May 10, 2019 4:32 pm
by odklizec
Cool :) Nice to hear you’ve found a solution.