RxSpy.RxSpySession.Launch C# (CSharp) Méthode

Launch() public static méthode

public static Launch ( IRxSpyEventHandler eventHandler, bool explicitCapture = false ) : RxSpySession
eventHandler IRxSpyEventHandler
explicitCapture bool
Résultat RxSpySession
        public static RxSpySession Launch(IRxSpyEventHandler eventHandler, bool explicitCapture = false)
        {
            var session = new RxSpySession(eventHandler, explicitCapture);
            Current = session;

            if (Interlocked.CompareExchange(ref _launched, 1, 0) != 0)
                throw new InvalidOperationException("Session already created");

            InstallInterceptingQueryLanguage(session);

            return session;
        }

Same methods

RxSpySession::Launch ( System.TimeSpan timeout, string pathToRxSpy = null, bool explicitCapture = false ) : RxSpySession
RxSpySession::Launch ( string pathToRxSpy = null, bool explicitCapture = false ) : RxSpySession