chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
+1 vote
Below  statement was object creation. in that constructor we have some messagebox.show.

in that constructor messagebox was invoked. after below statement again  I need to call another method.in that method also I have some messahebox show. but that time messagebox was showing.

rea = new RRecord(path);
related to an answer for: Messagebox.show is not inove
asked by gnanam (4.7k points)

1 Answer

0 votes

Hey gnanam,

As I understand you would like to avoid method messagebox.show from showing, therefore you need to use the Fake.AllInstances API:

Isolate.Fake.AllInstances< >();

Please let me know if this helps.

Cheers

answered by CoralTypemock (940 points)
Isolate.Fake.AllInstances< >();
...