Click or drag to resize

ContractDescription Class

A contract description maps a single interface type (the 'contract' type) and the associated operations. Operations are marked with one or more RestInvokeAttribute attributes and each attribute is used to define an OperationDescription for the method.
Inheritance Hierarchy
SystemObject
  RestSrvr.DescriptionContractDescription

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

The ContractDescription type exposes the following members.

Constructors
 NameDescription
Public methodContractDescription Create a new contract description from the specified contract
Top
Properties
 NameDescription
Public propertyName Gets the name of the contract
Public propertyOperations Gets the operations
Public propertyType Gets the type of the contract
Top
Methods
 NameDescription
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 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