Class SearchModel
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.RazorPages.PageModel
SearchModel
Implements
Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter
Microsoft.AspNetCore.Mvc.Filters.IPageFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
Inherited Members
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.BadRequest()
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.BadRequest(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.BadRequest(System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Challenge()
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Challenge(System.String[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Content(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Content(System.String, Microsoft.Net.Http.Headers.MediaTypeHeaderValue)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Content(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Content(System.String, System.String, System.Text.Encoding)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.File(System.Byte[], System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.File(System.Byte[], System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.File(System.IO.Stream, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.File(System.IO.Stream, System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.File(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.File(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Forbid()
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Forbid(System.String[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.LocalRedirect(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.LocalRedirectPermanent(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.LocalRedirectPermanentPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.LocalRedirectPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.NotFound()
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.NotFound(System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.OnPageHandlerExecuted(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.OnPageHandlerExecuting(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.OnPageHandlerExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext, Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.OnPageHandlerSelected(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.OnPageHandlerSelectionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Page()
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Partial(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Partial(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.PhysicalFile(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.PhysicalFile(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Redirect(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectPermanent(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectPermanentPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToAction(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToAction(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToAction(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToAction(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToAction(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToAction(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPermanent(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPermanent(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPermanent(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPermanent(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPermanent(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPermanentPreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToActionPreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage()
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage(System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPage(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanent(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanent(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanent(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanent(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanent(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanent(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePermanentPreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToPagePreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoute(System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoute(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoute(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoute(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoute(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoutePermanent(System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoutePermanent(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoutePermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoutePermanent(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoutePermanent(System.String, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoutePermanentPreserveMethod(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RedirectToRoutePreserveMethod(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.SignIn(System.Security.Claims.ClaimsPrincipal, Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.SignIn(System.Security.Claims.ClaimsPrincipal, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.SignOut(System.String[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.StatusCode(System.Int32)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.StatusCode(System.Int32, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync(System.Object, System.Type, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync(System.Object, System.Type, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync<TModel>(TModel)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync<TModel>(TModel, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync<TModel>(TModel, System.String, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryUpdateModelAsync<TModel>(TModel, System.String, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryValidateModel(System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TryValidateModel(System.Object, System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Unauthorized()
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.ViewComponent(System.String)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.ViewComponent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.ViewComponent(System.Type)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.ViewComponent(System.Type, System.Object)
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.HttpContext
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.MetadataProvider
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.ModelState
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.PageContext
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Request
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Response
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.RouteData
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.TempData
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.Url
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.User
Microsoft.AspNetCore.Mvc.RazorPages.PageModel.ViewData
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.Docs.Pages.Documents
Assembly: Volo.Docs.Web.dll
Syntax
public class SearchModel : PageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
SearchModel(IProjectAppService, IDocumentAppService, HtmlEncoder, IVersionHelper)
Declaration
public SearchModel(IProjectAppService projectAppService, IDocumentAppService documentAppService, HtmlEncoder encoder, IVersionHelper versionHelper)
Parameters
| Type | Name | Description |
|---|---|---|
| IProjectAppService | projectAppService | |
| IDocumentAppService | documentAppService | |
| System.Text.Encodings.Web.HtmlEncoder | encoder | |
| IVersionHelper | versionHelper |
Properties
KeyWord
Declaration
[BindProperty(SupportsGet = true)]
public string KeyWord { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LanguageCode
Declaration
[BindProperty(SupportsGet = true)]
public string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Project
Declaration
public ProjectDto Project { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectDto |
ProjectName
Declaration
[BindProperty(SupportsGet = true)]
public string ProjectName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SearchOutputs
Declaration
public List<DocumentSearchOutput> SearchOutputs { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<DocumentSearchOutput> |
Version
Declaration
[BindProperty(SupportsGet = true)]
public string Version { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
OnGetAsync(String)
Declaration
public virtual Task<IActionResult> OnGetAsync(string keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | keyword |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> |
Implements
Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter
Microsoft.AspNetCore.Mvc.Filters.IPageFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata