コード例 #1
0
 public InstrumentedCall(int id, IInstrumentedMethod method, string calledMethod, int instructionOffset, IObservable <IObservableInstance> observableInstances)
 {
     InstrumentedCallId  = id;
     Method              = method;
     CalledMethod        = calledMethod;
     InstructionOffset   = instructionOffset;
     ObservableInstances = observableInstances;
 }
コード例 #2
0
            private IInstrumentedCall CreateInstrumentedCall(IInstrumentedMethod method, NewInstrumentedCall c)
            {
                var observableInstances = mObservableInstancesByCall
                                          .WatchValue(c.Id)
                                          .Take(1)
                                          .SelectMany(obses => obses);

                return(new InstrumentedCall(c.Id, method, c.CalledMethod, c.InstructionOffset, observableInstances));
            }
コード例 #3
0
 public void RemoveMethod(IInstrumentedMethod method)
 {
     mMethods.RemoveKey(method.InstrumentedMethodId);
 }
コード例 #4
0
 public void AddMethod(IInstrumentedMethod method)
 {
     mMethods.AddOrUpdate(method);
 }