C# Class Naif.Blog.Controllers.BaseController

Inheritance: Microsoft.AspNetCore.Mvc.Controller
显示文件 Open project: cnurse/Naif.Blog

Public Methods

Method Description
CreateSlug ( string title ) : string

Protected Methods

Method Description
BaseController ( IBlogRepository blogRepository, IApplicationContext appContext ) : Microsoft.AspNetCore.Mvc

Private Methods

Method Description
RemoveDiacritics ( string text ) : string
RemoveReservedUrlCharacters ( string text ) : string

Method Details

BaseController() protected method

protected BaseController ( IBlogRepository blogRepository, IApplicationContext appContext ) : Microsoft.AspNetCore.Mvc
blogRepository IBlogRepository
appContext IApplicationContext
return Microsoft.AspNetCore.Mvc

CreateSlug() public method

public CreateSlug ( string title ) : string
title string
return string