Click or drag to resize

ResourceHandlerBaseTResource Class

Resource handler base
Inheritance Hierarchy

Namespace:  SanteDB.Rest.Common
Assembly:  SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 2.2.1
Syntax
public abstract class ResourceHandlerBase<TResource> : IServiceImplementation, 
	IApiResourceHandler
where TResource : new(), IdentifiedData

Type Parameters

TResource

[Missing <typeparam name="TResource"/> documentation for "T:SanteDB.Rest.Common.ResourceHandlerBase`1"]

The ResourceHandlerBaseTResource type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCapabilities
Gets the capabilities of this resource handler
Public propertyResourceName
Gets the resource name
Public propertyScope
Gets the scope of the resource handler
Public propertyServiceName
Get service name
Public propertyType
Gets the type
Top
Methods
  NameDescription
Public methodCreate
Create a resource
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.)
Public methodGet
Read clinical data
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRepository
Gets the repository
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 methodObsolete
Obsolete data
Public methodQuery(NameValueCollection)
Perform a query
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Perform the actual query
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Perform an update
Top
Fields
  NameDescription
Protected fieldm_localizationService
Localization service
Protected fieldm_repository
IRepository service
Protected fieldm_tracer
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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also