public void Start(IContextFactory contextFactory, IServiceIdentifier serviceIdentifier, IErrorMessageResolver errMessageResolver) { //TODO: Throw exception: Container already started this._contextFactory = contextFactory; this._serviceIdentifier = serviceIdentifier; this._errMessageResolver = errMessageResolver; }
public RequestBinder(IContainer container, IErrorMessageResolver errorMessageResolver, IViolationPropertyNameResolver violationPropertyNameResolver) { this.violationPropertyNameResolver = violationPropertyNameResolver; this.errorMessageResolver = errorMessageResolver; this.container = container; }