Show / Hide Table of Contents

Interface IDocumentHttpServiceHandler<TDocument>

Обработчик для сервиса по работе с документами.

Inherited Members
IDocumentHttpServiceHandlerBase.DocumentType
IDocumentHttpServiceHandlerBase.AsSystem
IDocumentHttpServiceHandlerBase.CanGet
IDocumentHttpServiceHandlerBase.CanPost
IDocumentHttpServiceHandlerBase.CanDelete
IDocumentHttpServiceHandlerBase.Load(IHttpServiceBuilder)
IDocumentHttpServiceHandlerBase.OnError(Exception)
Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.HttpService.dll
Syntax
public interface IDocumentHttpServiceHandler<TDocument> : IDocumentHttpServiceHandlerBase where TDocument : Document
Type Parameters
Name Description
TDocument

Тип документа.

Methods

| Improve this Doc View Source

OnAfterDelete(DocumentDeleteQuery<TDocument>, DocumentDeleteQueryResult, Exception)

Вызывается после удаления документов.

Declaration
Task OnAfterDelete(DocumentDeleteQuery<TDocument> query, DocumentDeleteQueryResult result, Exception exception)
Parameters
Type Name Description
DocumentDeleteQuery<TDocument> query

Запрос на удаление документа.

DocumentDeleteQueryResult result

Результат обработки запроса.

Exception exception

Исключение обработки запроса.

Returns
Type Description
Task
| Improve this Doc View Source

OnAfterGet(DocumentGetQuery<TDocument>, DocumentGetQueryResult, Exception)

Вызывается после получения документов.

Declaration
Task OnAfterGet(DocumentGetQuery<TDocument> query, DocumentGetQueryResult result, Exception exception)
Parameters
Type Name Description
DocumentGetQuery<TDocument> query

Запрос на получение документов.

DocumentGetQueryResult result

Результат обработки запроса.

Exception exception

Исключение обработки запроса.

Returns
Type Description
Task
| Improve this Doc View Source

OnAfterPost(DocumentPostQuery<TDocument>, DocumentPostQueryResult, Exception)

Вызывается после сохранения документов.

Declaration
Task OnAfterPost(DocumentPostQuery<TDocument> query, DocumentPostQueryResult result, Exception exception)
Parameters
Type Name Description
DocumentPostQuery<TDocument> query

Запрос на сохранение документа.

DocumentPostQueryResult result

Результат обработки запроса.

Exception exception

Исключение обработки запроса.

Returns
Type Description
Task
| Improve this Doc View Source

OnBeforeDelete(DocumentDeleteQuery<TDocument>)

Вызывается перед удалением документов.

Declaration
Task<DocumentDeleteQueryResult> OnBeforeDelete(DocumentDeleteQuery<TDocument> query)
Parameters
Type Name Description
DocumentDeleteQuery<TDocument> query
Returns
Type Description
Task<DocumentDeleteQueryResult>

Результат обработки запроса или null, если запрос не был обработан.

| Improve this Doc View Source

OnBeforeGet(DocumentGetQuery<TDocument>)

Вызывается перед получением документов.

Declaration
Task<DocumentGetQueryResult> OnBeforeGet(DocumentGetQuery<TDocument> query)
Parameters
Type Name Description
DocumentGetQuery<TDocument> query

Запрос на получение документов.

Returns
Type Description
Task<DocumentGetQueryResult>

Результат обработки запроса или null, если запрос не был обработан.

| Improve this Doc View Source

OnBeforePost(DocumentPostQuery<TDocument>)

Вызывается перед сохранением документов.

Declaration
Task<DocumentPostQueryResult> OnBeforePost(DocumentPostQuery<TDocument> query)
Parameters
Type Name Description
DocumentPostQuery<TDocument> query

Запрос на сохранение документа.

Returns
Type Description
Task<DocumentPostQueryResult>

Результат обработки запроса или null, если запрос не был обработан.

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.