AddressBuilder¶
Test-support builder/extension type used to construct in-memory repository fixtures for unit tests.*
Purpose¶
- Supports building or extending fake/in-memory repositories for test scenarios.*
Context¶
- Namespace:
SAIF.Data.TestRepository.RepositoryBuilders - Assembly/package:
SAIF.Data
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Type | IAddressBuilder Type(string addressType) |
Performs the Type operation.* |
| Line1 | IAddressBuilder Line1(string value) |
Performs the Line1 operation.* |
| Line2 | IAddressBuilder Line2(string value) |
Performs the Line2 operation.* |
| Line3 | IAddressBuilder Line3(string value) |
Performs the Line3 operation.* |
| Line4 | IAddressBuilder Line4(string value) |
Performs the Line4 operation.* |
| City | IAddressBuilder City(string value) |
Performs the City operation.* |
| State | IAddressBuilder State(string value) |
Performs the State operation.* |
| Zip | IAddressBuilder Zip(long value) |
Performs the Zip operation.* |
| PlusFour | IAddressBuilder PlusFour(string value) |
Performs the PlusFour operation.* |
| SetForeign | IAddressBuilder SetForeign() |
Sets foreign.* |
| EffectiveDates | IAddressBuilder EffectiveDates(DateTime effectiveDate, DateTime? expirationDate = null) |
Performs the EffectiveDates operation.* |
| AddressBuilder(IUnitOfWork uow, long personId) | AddressBuilder(IUnitOfWork uow, long personId) |
Initializes a new instance of the type with the supplied dependencies.* |
Inherited public members¶
Members in this section are inherited from Builder in SAIF.Data. They are available on this type through inheritance.
| Member | Signature | Purpose | Origin |
|---|---|---|---|
| Build | T Build() |
Builds this operation's target.* | SAIF.Data — Builder |
Behavioral notes¶
- No additional behavioral notes beyond the member purposes above could be confirmed from static analysis.**
Constraints and usage notes¶
- No additional usage constraints beyond standard NHibernate entity/DTO conventions could be confirmed from static analysis.**
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
Data/SAIF.Data/TestRepository/RepositoryBuilders/AddressBuilder.cs