public DependencyNode([NotNull] AutowireContext context) { Ensure.Any.IsNotNull(context, nameof(context)); Instance = context.Node; Dependencies = new HashSet <DependencyNode>(); _resolver = context; _processor = _ => context.Build(); _deferredProcessor = null; }
public DependencyNode(AutowireContext context) { Ensure.That(context, nameof(context)).IsNotNull(); Instance = context.Node; Dependencies = HashSet <DependencyNode>(); Debug.Assert(Instance != null, "Instance != null"); _resolver = context; _processor = _ => context.Build(); }