Class BlogPostCreate
Inheritance
BlogPostCreate
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
Syntax
[Authorize("CmsKit.BlogPosts.Create")]
[Route("/Cms/BlogPosts/Create")]
public class BlogPostCreate : CmsKitProComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
BlogPostCreate()
Declaration
Fields
BreadcrumbItems
Declaration
protected List<BreadcrumbItem> BreadcrumbItems
Field Value
HasPublishPermission
Declaration
protected bool HasPublishPermission
Field Value
Tags
Declaration
Field Value
ValidationsRef
Declaration
protected Validations ValidationsRef
Field Value
Type |
Description |
Validations |
|
Properties
BlogAdminAppService
Declaration
[Inject]
protected IBlogAdminAppService BlogAdminAppService { get; set; }
Property Value
BlogId
Declaration
protected Guid? BlogId { get; set; }
Property Value
BlogPost
Declaration
protected CreateBlogPostDto BlogPost { get; set; }
Property Value
BlogPostAdminAppService
Declaration
[Inject]
protected IBlogPostAdminAppService BlogPostAdminAppService { get; set; }
Property Value
Blogs
Declaration
protected List<BlogDto> Blogs { get; set; }
Property Value
CoverImage
Declaration
protected IFileEntry CoverImage { get; set; }
Property Value
Type |
Description |
IFileEntry |
|
EntityTagAdminAppService
Declaration
[Inject]
protected IEntityTagAdminAppService EntityTagAdminAppService { get; set; }
Property Value
MediaDescriptorAdminAppService
Declaration
[Inject]
protected IMediaDescriptorAdminAppService MediaDescriptorAdminAppService { get; set; }
Property Value
NavigationManager
Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Overrides
CreateBlogPostAsync(BlogPostStatus)
Declaration
protected virtual Task CreateBlogPostAsync(BlogPostStatus status)
Parameters
Returns
OnAfterRenderAsync(bool)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
bool |
firstRender |
|
Returns
Overrides
OnCoverImageChangedAsync(FileChangedEventArgs)
Declaration
protected virtual Task OnCoverImageChangedAsync(FileChangedEventArgs e)
Parameters
Type |
Name |
Description |
FileChangedEventArgs |
e |
|
Returns
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
OnSlugTextChangedAsync(string)
Declaration
protected virtual Task OnSlugTextChangedAsync(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
OnTitleTextChangedAsync(string)
Declaration
protected virtual Task OnTitleTextChangedAsync(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
PublishBlogPostAsync()
Declaration
protected virtual Task PublishBlogPostAsync()
Returns
SaveToDraftAsync()
Declaration
protected virtual Task SaveToDraftAsync()
Returns
SetBreadcrumbItemsAsync()
Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
WaitingForReviewAsync()
Declaration
protected virtual Task WaitingForReviewAsync()
Returns
Implements
Extension Methods