IBuilder<T> Interface
Namespace: PTS.Modules.Tests.Builders
Assembly: Modules.Tests.dll
Base interface for creating Builder classes.
Syntax
public interface IBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T | A class which is being built by the builder. |
Methods
Build()
Builds the entity.
Declaration
T Build()
Returns
Type | Description |
---|---|
T | The built entity. |
Reset()
Resets the entity.
Declaration
void Reset()