Beispiel #1
0
 public void Start()
 {
     spanProcessor.Start();
     taskFactory.Expect(x => x.CreateAndStart(Arg <Action> .Matches(y => ValidateStartAction(y, spanProcessor))));
 }
Beispiel #2
0
 public virtual void Start()
 {
     TaskHelper.Execute(syncObj, () => !IsStarted, () => { spanProcessor.Start(); IsStarted = true; });
 }