Show / Hide Table of Contents

Class BlogPostCreate

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
CmsKitProComponentBase
BlogPostCreate
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
AbpComponentBase.LazyGetRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetService<TService>(ref TService)
AbpComponentBase.LazyGetService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedService<TRef>(Type, ref TRef)
AbpComponentBase.CreateLocalizer()
AbpComponentBase.HandleErrorAsync(Exception)
AbpComponentBase.StringLocalizerFactory
AbpComponentBase.L
AbpComponentBase.LocalizationResource
AbpComponentBase.Logger
AbpComponentBase.LoggerFactory
AbpComponentBase.AuthorizationService
AbpComponentBase.CurrentUser
AbpComponentBase.CurrentTenant
AbpComponentBase.Message
AbpComponentBase.Notify
AbpComponentBase.UserExceptionInformer
AbpComponentBase.AlertManager
AbpComponentBase.Clock
AbpComponentBase.Alerts
AbpComponentBase.ObjectMapper
AbpComponentBase.ObjectMapperContext
AbpComponentBase.NonScopedServices
OwningComponentBase.Dispose(bool)
OwningComponentBase.IsDisposed
OwningComponentBase.ScopedServices
ComponentBase.OnInitialized()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Pro.Admin.Blazor.Pages.CmsKit
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
public BlogPostCreate()

Fields

BreadcrumbItems

Declaration
protected List<BreadcrumbItem> BreadcrumbItems
Field Value
Type Description
List<BreadcrumbItem>

HasPublishPermission

Declaration
protected bool HasPublishPermission
Field Value
Type Description
bool

Tags

Declaration
protected string Tags
Field Value
Type Description
string

ValidationsRef

Declaration
protected Validations ValidationsRef
Field Value
Type Description
Validations

Properties

BlogAdminAppService

Declaration
[Inject]
protected IBlogAdminAppService BlogAdminAppService { get; set; }
Property Value
Type Description
IBlogAdminAppService

BlogId

Declaration
protected Guid? BlogId { get; set; }
Property Value
Type Description
Guid?

BlogPost

Declaration
protected CreateBlogPostDto BlogPost { get; set; }
Property Value
Type Description
CreateBlogPostDto

BlogPostAdminAppService

Declaration
[Inject]
protected IBlogPostAdminAppService BlogPostAdminAppService { get; set; }
Property Value
Type Description
IBlogPostAdminAppService

Blogs

Declaration
protected List<BlogDto> Blogs { get; set; }
Property Value
Type Description
List<BlogDto>

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

MediaDescriptorAdminAppService

Declaration
[Inject]
protected IMediaDescriptorAdminAppService MediaDescriptorAdminAppService { get; set; }
Property Value
Type Description
IMediaDescriptorAdminAppService

NavigationManager

Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
Type Description
NavigationManager

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

CreateBlogPostAsync(BlogPostStatus)

Declaration
protected virtual Task CreateBlogPostAsync(BlogPostStatus status)
Parameters
Type Name Description
BlogPostStatus status
Returns
Type Description
Task

OnAfterRenderAsync(bool)

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type Name Description
bool firstRender
Returns
Type Description
Task
Overrides
ComponentBase.OnAfterRenderAsync(bool)

OnCoverImageChangedAsync(FileChangedEventArgs)

Declaration
protected virtual Task OnCoverImageChangedAsync(FileChangedEventArgs e)
Parameters
Type Name Description
FileChangedEventArgs e
Returns
Type Description
Task

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task
Overrides
ComponentBase.OnInitializedAsync()

OnSlugTextChangedAsync(string)

Declaration
protected virtual Task OnSlugTextChangedAsync(string value)
Parameters
Type Name Description
string value
Returns
Type Description
Task

OnTitleTextChangedAsync(string)

Declaration
protected virtual Task OnTitleTextChangedAsync(string value)
Parameters
Type Name Description
string value
Returns
Type Description
Task

PublishBlogPostAsync()

Declaration
protected virtual Task PublishBlogPostAsync()
Returns
Type Description
Task

SaveToDraftAsync()

Declaration
protected virtual Task SaveToDraftAsync()
Returns
Type Description
Task

SetBreadcrumbItemsAsync()

Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
Type Description
ValueTask

WaitingForReviewAsync()

Declaration
protected virtual Task WaitingForReviewAsync()
Returns
Type Description
Task

Implements

IComponent
IHandleEvent
IHandleAfterRender
IDisposable

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