Show / Hide Table of Contents

Class DocumentPdfAppService

Inheritance
object
ApplicationService
DocsCommonAppServiceBase
DocumentPdfAppService
DocumentPdfAdminAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IDocumentPdfAppService
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.Common.Documents
Assembly: Volo.Docs.Common.Application.dll
Syntax
[Authorize("Docs.Common.PdfDownload")]
public class DocumentPdfAppService : DocsCommonAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IDocumentPdfAppService, IApplicationService, IRemoteService

Constructors

DocumentPdfAppService(IProjectPdfGenerator, IProjectRepository, IProjectPdfFileStore, IOptions<DocsProjectPdfGeneratorOptions>)

Declaration
public DocumentPdfAppService(IProjectPdfGenerator projectPdfGenerator, IProjectRepository projectRepository, IProjectPdfFileStore projectPdfFileStore, IOptions<DocsProjectPdfGeneratorOptions> options)
Parameters
Type Name Description
IProjectPdfGenerator projectPdfGenerator
IProjectRepository projectRepository
IProjectPdfFileStore projectPdfFileStore
IOptions<DocsProjectPdfGeneratorOptions> options

Properties

Options

Declaration
protected IOptions<DocsProjectPdfGeneratorOptions> Options { get; }
Property Value
Type Description
IOptions<DocsProjectPdfGeneratorOptions>

ProjectPdfFileStore

Declaration
protected IProjectPdfFileStore ProjectPdfFileStore { get; }
Property Value
Type Description
IProjectPdfFileStore

ProjectPdfGenerator

Declaration
protected IProjectPdfGenerator ProjectPdfGenerator { get; }
Property Value
Type Description
IProjectPdfGenerator

ProjectRepository

Declaration
protected IProjectRepository ProjectRepository { get; }
Property Value
Type Description
IProjectRepository

Methods

DownloadPdfAsync(DocumentPdfGeneratorInput)

Declaration
public virtual Task<IRemoteStreamContent> DownloadPdfAsync(DocumentPdfGeneratorInput input)
Parameters
Type Name Description
DocumentPdfGeneratorInput input
Returns
Type Description
Task<IRemoteStreamContent>

ExistsAsync(DocumentPdfGeneratorInput)

Declaration
public virtual Task<bool> ExistsAsync(DocumentPdfGeneratorInput input)
Parameters
Type Name Description
DocumentPdfGeneratorInput input
Returns
Type Description
Task<bool>

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IDocumentPdfAppService
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