Example #1
0
 public ResolveOperation(string id, LifetimeScope lifetimeScope, Thread thread, ResolveOperation parent = null, MethodIdentifier callingMethod = null)
 {
     if (id == null) throw new ArgumentNullException("id");
     if (lifetimeScope == null) throw new ArgumentNullException("lifetimeScope");
     if (thread == null) throw new ArgumentNullException("thread");
     _id = id;
     _lifetimeScope = lifetimeScope;
     _thread = thread;
     _parent = parent;
     _callingMethod = callingMethod;
 }
Example #2
0
 public ResolveOperation(string id, LifetimeScope lifetimeScope, Thread thread, ResolveOperation parent = null, MethodIdentifier callingMethod = null)
 {
     if (id == null)
     {
         throw new ArgumentNullException("id");
     }
     if (lifetimeScope == null)
     {
         throw new ArgumentNullException("lifetimeScope");
     }
     if (thread == null)
     {
         throw new ArgumentNullException("thread");
     }
     _id            = id;
     _lifetimeScope = lifetimeScope;
     _thread        = thread;
     _parent        = parent;
     _callingMethod = callingMethod;
 }