public UserService(DatabaseContext databaseContext, IHostMatcher hostMatcher) : this() { Contract.Requires<ArgumentNullException>(databaseContext != null, "databaseContext"); Contract.Requires<ArgumentNullException>(hostMatcher != null, "hostMatcher"); this.hostMatcher = hostMatcher; this.databaseContext = databaseContext; }
public NetworkService(DatabaseContext databaseContext) { Contract.Requires<ArgumentNullException>(databaseContext != null, "databaseContext"); this.databaseContext = databaseContext; }