Click or drag to resize

RestCustomResourcesModule Class

RESTful module for custom resources management.
Inheritance Hierarchy
SystemObject
  Packflow.RestRestModule
    Packflow.RestRestCustomResourcesModule

Namespace:  Packflow.Rest
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public class RestCustomResourcesModule : RestModule, 
	IHttpModule

The RestCustomResourcesModule type exposes the following members.

Constructors
  NameDescription
Public methodRestCustomResourcesModule
Top
Methods
  NameDescription
Protected methodAddEtag
Adds an ETag header to the response, based on the output.
(Inherited from RestModule.)
Public methodCalculateMD5Hash
Calculates an MD5 of a string.
(Inherited from RestModule.)
Protected methodDeserializeParamT
Deserializes an object received in a request. Respects request parameters.
(Inherited from RestModule.)
Public methodDispose
Disposes resources.
Protected methodGetQueryStringValue
Gets a request value from the query string. altNames contains other parameter names to check if no value found in the first one.
(Inherited from RestModule.)
Protected methodGetSerializerSettings
Gets the serializer settings for JsonConvert (NewtonSoft).
(Inherited from RestModule.)
Protected methodHandleEtag
Checks the request ETag. If modified, throw a rest exception for code 304 (unmodified). Else adds the new ETag in the response.
(Inherited from RestModule.)
Public methodInit
Initializes events.
Public methodRequestParam_CamelCase
Gets a (request parameter) value indicating if the serialized JSON should follow camel case. Default value: false. Query string parameter name: "camelCase".
(Inherited from RestModule.)
Public methodRequestParam_IgnoreNullValues
Gets a (request parameter) value indicating if the serialized JSON should ignore null values. Default value: true. Query string parameter name: "ignoreNullValues".
(Inherited from RestModule.)
Public methodRequestParam_PrettyJson
Gets a (request parameter) value indicating if the JSON should be indented. Default value: false. Query string parameter name: "pretty".
(Inherited from RestModule.)
Protected methodSerializeResult
Serializes an object (using JSON) to be returned in the response. Respects request parameters.
(Inherited from RestModule.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also