Click or drag to resize

RestService Class

Represents a simple HttpRestServer
Inheritance Hierarchy
SystemObject
  RestSrvrRestService

Namespace: RestSrvr
Assembly: RestSrvr (in RestSrvr.dll) Version: 3.0.2081-alpha+2a5b7e36c643f1770ee7668b30338121303a2e40
Syntax
public sealed class RestService

The RestService type exposes the following members.

Constructors
 NameDescription
Public methodRestService(Object) Creates the specified HttpHostContext
Public methodRestService(Type) Creates the specified HttpHostContext
Top
Properties
 NameDescription
Public propertyBehaviorType Gets the behavior type
Public propertyEndpoints Gets the endpoints for this rest server host
Public propertyInstanceMode Gets the instance mode
Public propertyIsRunning Get whether the service is running
Public propertyName Gets the name of the rest service
Public propertyServiceBehaviors Gets the current service behaviors
Top
Methods
 NameDescription
Public methodAddServiceBehavior Adds a service behavior to this instance
Public methodAddServiceEndpoint(ServiceEndpoint) Add a service endpoint
Public methodAddServiceEndpoint(Uri, Type, IEndpointBinding) Registers the service behavior contractType at base Uri baseUri
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStart Start this service
Public methodStop 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also