Click or drag to resize

BaseEndpoint Class

Inheritance Hierarchy

Namespace:  Colygon.MatchPoint.WebApi.Configuration.EndPoints
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
[SerializableAttribute]
public abstract class BaseEndpoint

The BaseEndpoint type exposes the following members.

Constructors
  NameDescription
Protected methodBaseEndpoint
Initializes a new instance of the BaseEndpoint class
Top
Properties
  NameDescription
Public propertyActionExpression
Specifies an expression that is evaluated and the result is returned when the endpoint is invoked. Note that if this expression is defined, the 'DataProvider' is ignored. Use the expression variable 'RouteParameters' to access the route parameter values. Use the expression variable 'RequestHeaders' to access the request header values.
Public propertyAfterActions
Contains actions that are executed after the 'ActionExpression' or the 'DataProvider' has been called. Use the expression variable 'RouteParameters' to access the route parameter values. Use the expression variable 'RequestHeaders' to access the request header values. Use the expression variable 'Result' / 'MappedResult' to access the result / mapped result of the 'ActionExpression' or the 'DataProvider' .
Public propertyBeforeActions
Contains actions that are executed when the endpoint is invoked, respectively before the 'ActionExpression' or the 'DataProvider' have been called.) Use the expression variable 'RouteParameters' to access the route parameter values. Use the expression variable 'RequestHeaders' to access the request header values.
Public propertyDataProvider
Specifies a data provider to retrieve data that is returned by this endpoint. Note that this is ignored if an 'ActionExpression' is defined.
Protected propertyHttpMethod
Public propertyRequestValidator
Specifies the RequestValidator used to validate the request.
Public propertyResponseFormat
Specifies the response content type of the message that is returned by this endpoint. If 'Auto' is selected the response content type is detected based on the 'Accept' request header.
Public propertyResponseHeaders
Specifies headers that are included in the response.
Public propertyResultPropertyMappings
Specifies mappings to properties of the object returned by the DataProvider or ActionExpression. These mappings are then returned in the response body as a (serialized) dictionary by this endpoint.
Public propertyRouteParameters
Specifies properties for route parameters defined in the 'RouteUrlTemplate'.
Public propertyRouteUrlTemplate
Specifies the URL template for this endpoint to match. Route parameters can be defined with curly braces '{myparam}'. These parameters are available for expressions and can be further configured in the 'RouteParameters' node.
Public propertyRunAsSystemAccount
If enabled, the process handling the request is executed in the context of the application pool user.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodStatic memberGetEncoding
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
Fields
Remarks
This is a MatchPoint configuration class.
See Also