Exemplo n.º 1
0
 protected Operator(Operator original, Cloner cloner)
   : base(original, cloner) {
   executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication);
   this.breakpoint = original.breakpoint;
 }
Exemplo n.º 2
0
 protected Operator(Operator original, Cloner cloner)
     : base(original, cloner)
 {
     executionContexts = new Lazy <ThreadLocal <IExecutionContext> >(() => { return(new ThreadLocal <IExecutionContext>()); }, LazyThreadSafetyMode.ExecutionAndPublication);
     this.breakpoint   = original.breakpoint;
 }