RestService Class |
Namespace: RestSrvr
The RestService type exposes the following members.
Name | Description | |
---|---|---|
RestService(Object) |
Creates the specified HttpHostContext
| |
RestService(Type) |
Creates the specified HttpHostContext
|
Name | Description | |
---|---|---|
BehaviorType |
Gets the behavior type
| |
Endpoints |
Gets the endpoints for this rest server host
| |
InstanceMode |
Gets the instance mode
| |
IsRunning |
Get whether the service is running
| |
Name |
Gets the name of the rest service
| |
ServiceBehaviors |
Gets the current service behaviors
|
Name | Description | |
---|---|---|
AddServiceBehavior |
Adds a service behavior to this instance
| |
AddServiceEndpoint(ServiceEndpoint) |
Add a service endpoint
| |
AddServiceEndpoint(Uri, Type, IEndpointBinding) |
Registers the service behavior contractType at base Uri baseUri | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Start |
Start this service
| |
Stop | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ConvertTReturn |
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.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |