C# Class Composite.Plugins.Functions.FunctionProviders.MvcFunctions.MvcFunctionBase

Inheritance: IFunction
显示文件 Open project: Orckestra/C1-Packages Class Usage Examples

Protected Properties

Property Type Description
_dataUrlMappers IDataUrlMapper>>.List
_functionCollection FunctionCollection

Public Methods

Method Description
AddParameter ( Composite.Functions.ParameterProfile parameterProfile ) : void
AssignDynamicUrlMapper ( Type dataType, IDataUrlMapper dataUrlMapper ) : void
Execute ( ParameterList parameters, Composite.Functions.FunctionContextContainer context ) : object
ExecuteAsync ( ParameterList parameters, Composite.Functions.FunctionContextContainer context ) : Task
UsePathInfoForRouting ( ) : void

Protected Methods

Method Description
GetBaseMvcRoute ( ParameterList parameters ) : string
GetMvcRoute ( ParameterList parameters ) : string
MvcFunctionBase ( string @namespace, string name, string description, FunctionCollection functionCollection ) : System

Private Methods

Method Description
AttachDynamicDataUrlMappers ( ) : void
CopyHttpContextData ( HttpContext copyFrom, HttpContext copyTo ) : void
EmbedExceptionSourceCode ( Exception ex ) : void
ExecuteRoute ( System.Web.Routing.RouteData routeData, ParameterList parameters, bool &routeResolved ) : Composite.Core.Xml.XhtmlDocument
ExecuteRouteAsync ( System.Web.Routing.RouteData routeData, HttpContext parentContext, CultureInfo culture, PublicationScope publicationScope ) : Task
GetParameterInformation ( ) : IEnumerable
GetRouteData ( string virtualUrl, ParameterList parameters ) : System.Web.Routing.RouteData
ParseOutput ( string xhtml ) : Composite.Core.Xml.XhtmlDocument
ProcessDocument ( Composite.Core.Xml.XhtmlDocument document, ParameterList parameters ) : void

Method Details

AddParameter() public method

public AddParameter ( Composite.Functions.ParameterProfile parameterProfile ) : void
parameterProfile Composite.Functions.ParameterProfile
return void

AssignDynamicUrlMapper() public method

public AssignDynamicUrlMapper ( Type dataType, IDataUrlMapper dataUrlMapper ) : void
dataType System.Type
dataUrlMapper IDataUrlMapper
return void

Execute() public method

public Execute ( ParameterList parameters, Composite.Functions.FunctionContextContainer context ) : object
parameters ParameterList
context Composite.Functions.FunctionContextContainer
return object

ExecuteAsync() public method

public ExecuteAsync ( ParameterList parameters, Composite.Functions.FunctionContextContainer context ) : Task
parameters ParameterList
context Composite.Functions.FunctionContextContainer
return Task

GetBaseMvcRoute() protected abstract method

protected abstract GetBaseMvcRoute ( ParameterList parameters ) : string
parameters ParameterList
return string

GetMvcRoute() protected abstract method

protected abstract GetMvcRoute ( ParameterList parameters ) : string
parameters ParameterList
return string

MvcFunctionBase() protected method

protected MvcFunctionBase ( string @namespace, string name, string description, FunctionCollection functionCollection ) : System
@namespace string
name string
description string
functionCollection FunctionCollection
return System

UsePathInfoForRouting() public method

public UsePathInfoForRouting ( ) : void
return void

Property Details

_dataUrlMappers protected_oe property

protected List> _dataUrlMappers
return IDataUrlMapper>>.List

_functionCollection protected_oe property

protected FunctionCollection _functionCollection
return FunctionCollection