Class DocsProjectController
Inheritance
System.Object
DocsProjectController
Implements
IAvoidDuplicateCrossCuttingConcerns
IApplicationService
Assembly: Volo.Docs.HttpApi.dll
Syntax
public class DocsProjectController : AbpController, IAvoidDuplicateCrossCuttingConcerns, IProjectAppService, IApplicationService
Constructors
DocsProjectController(IProjectAppService)
Declaration
public DocsProjectController(IProjectAppService projectAppService)
Parameters
Properties
ProjectAppService
Declaration
protected IProjectAppService ProjectAppService { get; }
Property Value
Methods
GetAsync(String)
Declaration
public virtual Task<ProjectDto> GetAsync(string shortName)
Parameters
Type |
Name |
Description |
System.String |
shortName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<ProjectDto> |
|
GetDefaultLanguageCode(String, String)
Declaration
public Task<string> GetDefaultLanguageCode(string shortName, string version)
Parameters
Type |
Name |
Description |
System.String |
shortName |
|
System.String |
version |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
GetLanguageListAsync(String, String)
Declaration
public Task<LanguageConfig> GetLanguageListAsync(string shortName, string version)
Parameters
Type |
Name |
Description |
System.String |
shortName |
|
System.String |
version |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<LanguageConfig> |
|
GetListAsync()
Declaration
public virtual Task<ListResultDto<ProjectDto>> GetListAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<ListResultDto<ProjectDto>> |
|
GetVersionsAsync(String)
Declaration
public virtual Task<ListResultDto<VersionInfoDto>> GetVersionsAsync(string shortName)
Parameters
Type |
Name |
Description |
System.String |
shortName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<ListResultDto<VersionInfoDto>> |
|
Implements
IAvoidDuplicateCrossCuttingConcerns
IApplicationService
Extension Methods