Class MixThemeImportService
Inheritance
System.Object
MixThemeImportService
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()
Namespace: Mix.Lib.Services
Assembly: mix.library.dll
Syntax
public class MixThemeImportService
Constructors
| Improve this Doc View SourceMixThemeImportService(UnitOfWorkInfo<MixCmsContext>, IHttpContextAccessor, DatabaseService)
Declaration
public MixThemeImportService(UnitOfWorkInfo<MixCmsContext> uow, IHttpContextAccessor httpContext, DatabaseService databaseService)
Parameters
Type | Name | Description |
---|---|---|
UnitOfWorkInfo<MixCmsContext> | uow | |
Microsoft.AspNetCore.Http.IHttpContextAccessor | httpContext | |
DatabaseService | databaseService |
Fields
| Improve this Doc View SourcetenantId
Declaration
public readonly int tenantId
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDownloadThemeAsync(JObject, IProgress<Int32>, HttpService)
Declaration
public Task DownloadThemeAsync(JObject theme, IProgress<int> progress, HttpService httpService)
Parameters
Type | Name | Description |
---|---|---|
JObject | theme | |
IProgress<System.Int32> | progress | |
HttpService | httpService |
Returns
Type | Description |
---|---|
Task |
ExtractTheme(IFormFile)
Declaration
public void ExtractTheme(IFormFile themeFile)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Http.IFormFile | themeFile |
ImportSelectedItemsAsync(SiteDataViewModel)
Declaration
public Task<SiteDataViewModel> ImportSelectedItemsAsync(SiteDataViewModel siteData)
Parameters
Type | Name | Description |
---|---|---|
SiteDataViewModel | siteData |
Returns
Type | Description |
---|---|
Task<SiteDataViewModel> |
LoadSchema()
Declaration
public SiteDataViewModel LoadSchema()
Returns
Type | Description |
---|---|
SiteDataViewModel |