public void Add(BindingContainerExtender bindingExtender) { if (bindingExtender is null) { throw new ArgumentNullException(nameof(bindingExtender)); } _bindingExtenders.Add( bindingExtender ); }
public ExtenderAndTypePair( BindingContainerExtender bindingExtender, DetectedConstructorArgument constructorArgument ) { if (bindingExtender is null) { throw new ArgumentNullException(nameof(bindingExtender)); } if (constructorArgument is null) { throw new ArgumentNullException(nameof(constructorArgument)); } BindingExtender = bindingExtender; ConstructorArgument = constructorArgument; }