AccountBuilder Class
Namespace: PTS.Modules.Tests.Builders.Accounts
Assembly: Modules.Tests.dll
An implementation of builder for dynamic text entity.
Syntax
public class AccountBuilder : IAccountBuilder, IBuilder<Account>
Inheritance
System.Object
AccountBuilder
Constructors
AccountBuilder()
Declaration
public AccountBuilder()
Methods
Build()
Declaration
public Account Build()
Returns
Type | Description |
---|---|
Account |
HasId(Int64)
Declaration
public IAccountBuilder HasId(long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | id |
Returns
Type | Description |
---|---|
IAccountBuilder |
HasIdAndOwnerId(Int64, Int64)
Declaration
public IAccountBuilder HasIdAndOwnerId(long id, long ownerId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | id | |
System.Int64 | ownerId |
Returns
Type | Description |
---|---|
IAccountBuilder |
HasName(String)
Declaration
public IAccountBuilder HasName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
IAccountBuilder |
Reset()
Declaration
public void Reset()
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()