Пример #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;
 }
Пример #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;
 }