Show / Hide Table of Contents

Class MixService

Inheritance
System.Object
MixService
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 MixService

Constructors

| Improve this Doc View Source

MixService(MixConfigurationService, SmtpConfigService, IHttpContextAccessor)

Declaration
public MixService(MixConfigurationService configService, SmtpConfigService smtpConfigService, IHttpContextAccessor httpContextAccessor)
Parameters
Type Name Description
MixConfigurationService configService
SmtpConfigService smtpConfigService
Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor

Fields

| Improve this Doc View Source

_configService

Declaration
public readonly MixConfigurationService _configService
Field Value
Type Description
MixConfigurationService
| Improve this Doc View Source

_smtpConfigService

Declaration
public readonly SmtpConfigService _smtpConfigService
Field Value
Type Description
SmtpConfigService
| Improve this Doc View Source

MixTenantId

Declaration
public readonly int MixTenantId
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetAssetFolder(String)

Declaration
public string GetAssetFolder(string culture = null)
Parameters
Type Name Description
System.String culture
Returns
Type Description
System.String
| Improve this Doc View Source

GetUploadFolder(String)

Declaration
public string GetUploadFolder(string culture = null)
Parameters
Type Name Description
System.String culture
Returns
Type Description
System.String
| Improve this Doc View Source

LogError(String, Object)

Declaration
public static void LogError(string message, object data)
Parameters
Type Name Description
System.String message
System.Object data
| Improve this Doc View Source

LogException(Exception, Nullable<MixErrorStatus>, String)

Declaration
public static void LogException(Exception ex = null, MixErrorStatus? status = default(MixErrorStatus? ), string message = null)
Parameters
Type Name Description
Exception ex
System.Nullable<MixErrorStatus> status
System.String message
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾