Show / Hide Table of Contents

Class ProjectAppService

Inheritance
object
ApplicationService
DocsAppServiceBase
ProjectAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IProjectAppService
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Docs.Projects
Assembly: Volo.Docs.Application.dll
Syntax
public class ProjectAppService : DocsAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IProjectAppService, IApplicationService, IRemoteService

Constructors

ProjectAppService(IProjectRepository, IDistributedCache<List<VersionInfo>>, IDocumentSourceFactory, IDistributedCache<LanguageConfig>)

Declaration
public ProjectAppService(IProjectRepository projectRepository, IDistributedCache<List<VersionInfo>> versionCache, IDocumentSourceFactory documentSource, IDistributedCache<LanguageConfig> languageCache)
Parameters
Type Name Description
IProjectRepository projectRepository
IDistributedCache<List<VersionInfo>> versionCache
IDocumentSourceFactory documentSource
IDistributedCache<LanguageConfig> languageCache

Properties

LanguageCache

Declaration
protected IDistributedCache<LanguageConfig> LanguageCache { get; }
Property Value
Type Description
IDistributedCache<LanguageConfig>

Methods

GetAsync(string)

Declaration
public virtual Task<ProjectDto> GetAsync(string shortName)
Parameters
Type Name Description
string shortName
Returns
Type Description
Task<ProjectDto>

GetDefaultLanguageCodeAsync(string, string)

Declaration
public virtual Task<string> GetDefaultLanguageCodeAsync(string shortName, string version)
Parameters
Type Name Description
string shortName
string version
Returns
Type Description
Task<string>

GetLanguageListAsync(string, string)

Declaration
public virtual Task<LanguageConfig> GetLanguageListAsync(string shortName, string version)
Parameters
Type Name Description
string shortName
string version
Returns
Type Description
Task<LanguageConfig>

GetListAsync()

Declaration
public virtual Task<ListResultDto<ProjectDto>> GetListAsync()
Returns
Type Description
Task<ListResultDto<ProjectDto>>

GetVersionsAsync(string)

Declaration
public virtual Task<ListResultDto<VersionInfoDto>> GetVersionsAsync(string shortName)
Parameters
Type Name Description
string shortName
Returns
Type Description
Task<ListResultDto<VersionInfoDto>>

GetVersionsAsync(Project)

Declaration
protected virtual Task<List<VersionInfo>> GetVersionsAsync(Project project)
Parameters
Type Name Description
Project project
Returns
Type Description
Task<List<VersionInfo>>

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IProjectAppService
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform