View Source
Interface IDomainRepository
Assembly: Umbraco.Core.dll
Syntax
public interface IDomainRepository : IReadWriteQueryRepository<int, IDomain>, IReadRepository<int, IDomain>, IWriteRepository<IDomain>, IQueryRepository<IDomain>, IRepository
Methods
View Source
Exists(String)
Declaration
bool Exists(string domainName)
Parameters
| Type |
Name |
Description |
| System.String |
domainName |
|
Returns
| Type |
Description |
| System.Boolean |
|
View Source
GetAll(Boolean)
Declaration
IEnumerable<IDomain> GetAll(bool includeWildcards)
Parameters
| Type |
Name |
Description |
| System.Boolean |
includeWildcards |
|
Returns
| Type |
Description |
| IEnumerable<IDomain> |
|
View Source
GetAssignedDomains(Int32, Boolean)
Declaration
IEnumerable<IDomain> GetAssignedDomains(int contentId, bool includeWildcards)
Parameters
| Type |
Name |
Description |
| System.Int32 |
contentId |
|
| System.Boolean |
includeWildcards |
|
Returns
| Type |
Description |
| IEnumerable<IDomain> |
|
View Source
GetByName(String)
Declaration
IDomain GetByName(string domainName)
Parameters
| Type |
Name |
Description |
| System.String |
domainName |
|
Returns