Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDomainService

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDomainService : IService

    Methods

    View Source

    Delete(IDomain)

    Declaration
    Attempt<OperationResult> Delete(IDomain domain)
    Parameters
    Type Name Description
    IDomain domain
    Returns
    Type Description
    Attempt<OperationResult>
    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

    GetById(Int32)

    Declaration
    IDomain GetById(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    IDomain
    View Source

    GetByName(String)

    Declaration
    IDomain GetByName(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    IDomain
    View Source

    Save(IDomain)

    Declaration
    Attempt<OperationResult> Save(IDomain domainEntity)
    Parameters
    Type Name Description
    IDomain domainEntity
    Returns
    Type Description
    Attempt<OperationResult>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Delete(IDomain)
      • Exists(String)
      • GetAll(Boolean)
      • GetAssignedDomains(Int32, Boolean)
      • GetById(Int32)
      • GetByName(String)
      • Save(IDomain)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX