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 |
| string |
domainName |
|
Returns
View Source
GetAll(bool)
Declaration
IEnumerable<IDomain> GetAll(bool includeWildcards)
Parameters
| Type |
Name |
Description |
| bool |
includeWildcards |
|
Returns
| Type |
Description |
| IEnumerable<IDomain> |
|
View Source
GetAssignedDomains(int, bool)
Declaration
IEnumerable<IDomain> GetAssignedDomains(int contentId, bool includeWildcards)
Parameters
| Type |
Name |
Description |
| int |
contentId |
|
| bool |
includeWildcards |
|
Returns
| Type |
Description |
| IEnumerable<IDomain> |
|
View Source
GetByName(string)
Declaration
IDomain? GetByName(string domainName)
Parameters
| Type |
Name |
Description |
| string |
domainName |
|
Returns