Search Results for

    Show / Hide Table of Contents

    Class CreatedPackageSchemaRepository

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
    Assembly: cs.temp.dll.dll
    Syntax
    public class CreatedPackageSchemaRepository : ICreatedPackagesRepository

    Constructors

    CreatedPackageSchemaRepository(IUmbracoDatabase, IHostingEnvironment, IOptions<GlobalSettings>, FileSystems, IEntityXmlSerializer, IDataTypeService, ILocalizationService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IMacroService, IContentTypeService, String, String)

    Initializes a new instance of the CreatedPackageSchemaRepository class.

    Declaration
    public CreatedPackageSchemaRepository(IUmbracoDatabase umbracoDatabase, IHostingEnvironment hostingEnvironment, IOptions<GlobalSettings> globalSettings, FileSystems fileSystems, IEntityXmlSerializer serializer, IDataTypeService dataTypeService, ILocalizationService localizationService, IFileService fileService, IMediaService mediaService, IMediaTypeService mediaTypeService, IContentService contentService, MediaFileManager mediaFileManager, IMacroService macroService, IContentTypeService contentTypeService, string mediaFolderPath = null, string tempFolderPath = null)
    Parameters
    Type Name Description
    IUmbracoDatabase umbracoDatabase
    IHostingEnvironment hostingEnvironment
    IOptions<GlobalSettings> globalSettings
    FileSystems fileSystems
    IEntityXmlSerializer serializer
    IDataTypeService dataTypeService
    ILocalizationService localizationService
    IFileService fileService
    IMediaService mediaService
    IMediaTypeService mediaTypeService
    IContentService contentService
    MediaFileManager mediaFileManager
    IMacroService macroService
    IContentTypeService contentTypeService
    System.String mediaFolderPath
    System.String tempFolderPath

    Methods

    Delete(Int32)

    Declaration
    public void Delete(int id)
    Parameters
    Type Name Description
    System.Int32 id

    ExportPackage(PackageDefinition)

    Declaration
    public string ExportPackage(PackageDefinition definition)
    Parameters
    Type Name Description
    PackageDefinition definition
    Returns
    Type Description
    System.String

    GetAll()

    Declaration
    public IEnumerable<PackageDefinition> GetAll()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PackageDefinition>

    GetById(Int32)

    Declaration
    public PackageDefinition GetById(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    PackageDefinition

    SavePackage(PackageDefinition)

    Declaration
    public bool SavePackage(PackageDefinition definition)
    Parameters
    Type Name Description
    PackageDefinition definition
    Returns
    Type Description
    System.Boolean
    In This Article
    • Constructors
      • CreatedPackageSchemaRepository(IUmbracoDatabase, IHostingEnvironment, IOptions<GlobalSettings>, FileSystems, IEntityXmlSerializer, IDataTypeService, ILocalizationService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IMacroService, IContentTypeService, String, String)
    • Methods
      • Delete(Int32)
      • ExportPackage(PackageDefinition)
      • GetAll()
      • GetById(Int32)
      • SavePackage(PackageDefinition)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX