HostnameBuilder Class
Assembly: Modules.Tests.dll
An implementation of builder for hostname entity.
Syntax
public class HostnameBuilder : IHostnameBuilder, IBuilder<Hostname>
Inheritance
System.Object
HostnameBuilder
Constructors
HostnameBuilder()
Declaration
Methods
Build()
Declaration
Returns
HasDomain(String)
Declaration
public IHostnameBuilder HasDomain(string domain)
Parameters
Type |
Name |
Description |
System.String |
domain |
|
Returns
HasId(Int64)
Declaration
public IHostnameBuilder HasId(long id)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
Returns
HasIdAndOwnerId(Int64, Int64)
Declaration
public IHostnameBuilder HasIdAndOwnerId(long id, long ownerId)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
System.Int64 |
ownerId |
|
Returns
HasRedirect(String)
Declaration
public IHostnameBuilder HasRedirect(string redirect)
Parameters
Type |
Name |
Description |
System.String |
redirect |
|
Returns
HasRegistrant(Account)
Declaration
public IHostnameBuilder HasRegistrant(Account account)
Parameters
Type |
Name |
Description |
Account |
account |
|
Returns
HasStatus(HostnameStatus)
Declaration
public IHostnameBuilder HasStatus(HostnameStatus status)
Parameters
Returns
Reset()
Declaration
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()
Extension Methods