Class BlogPostUpdate
Inheritance
BlogPostUpdate
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
Syntax
[Authorize("CmsKit.BlogPosts.Update")]
[Route("/Cms/BlogPosts/Update/{Id:guid}")]
public class BlogPostUpdate : CmsKitProComponentBase
Constructors
BlogPostUpdate()
Declaration
Fields
BreadcrumbItems
Declaration
protected List<BreadcrumbItem> BreadcrumbItems
Field Value
Type |
Description |
List<BreadcrumbItem> |
|
MarkdownRef
Declaration
protected DynamicWidgetMarkdown MarkdownRef
Field Value
Tags
Declaration
Field Value
ValidationsRef
Declaration
protected Validations ValidationsRef
Field Value
Type |
Description |
Validations |
|
Properties
BlogPost
Declaration
protected UpdateBlogPostDto BlogPost { get; set; }
Property Value
Type |
Description |
UpdateBlogPostDto |
|
BlogPostAdminAppService
Declaration
[Inject]
protected IBlogPostAdminAppService BlogPostAdminAppService { get; set; }
Property Value
Type |
Description |
IBlogPostAdminAppService |
|
CoverImage
Declaration
protected IFileEntry CoverImage { get; set; }
Property Value
Type |
Description |
IFileEntry |
|
EntityTagAdminAppService
Declaration
[Inject]
protected IEntityTagAdminAppService EntityTagAdminAppService { get; set; }
Property Value
Type |
Description |
IEntityTagAdminAppService |
|
Id
Declaration
[Parameter]
public Guid Id { get; set; }
Property Value
MediaDescriptorAdminAppService
Declaration
[Inject]
protected IMediaDescriptorAdminAppService MediaDescriptorAdminAppService { get; set; }
Property Value
Type |
Description |
IMediaDescriptorAdminAppService |
|
NavigationManager
Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
TagAppService
Declaration
[Inject]
protected ITagAppService TagAppService { get; set; }
Property Value
Type |
Description |
ITagAppService |
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
GetCoverImageUrl()
Declaration
protected virtual string GetCoverImageUrl()
Returns
OnCoverImageChangedAsync(FileChangedEventArgs)
Declaration
protected virtual Task OnCoverImageChangedAsync(FileChangedEventArgs e)
Parameters
Type |
Name |
Description |
FileChangedEventArgs |
e |
|
Returns
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
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
RemoveCoverImageAsync()
Declaration
protected virtual Task RemoveCoverImageAsync()
Returns
SetBreadcrumbItemsAsync()
Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
UpdateBlogPostAsync()
Declaration
protected virtual Task UpdateBlogPostAsync()
Returns