C# Класс SharpRaven.Data.SentryRequestFactory

A default implementation of ISentryRequestFactory. Override the OnCreate method to adjust the values of the SentryRequest before it is sent to Sentry.
Наследование: ISentryRequestFactory
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Convert string>.IDictionary
GetHttpContext void
TryGetHttpContextPropertyFromAppDomain void

Открытые методы

Метод Описание
Create ( ) : ISentryRequest

Creates a new instance of SentryRequest for the current packet.

OnCreate ( SentryRequest request ) : SentryRequest

Called when the SentryRequest has been created. Can be overridden to adjust the values of the request before it is sent to Sentry.

Приватные методы

Метод Описание
Convert ( NameObjectCollectionBase>.Func collectionGetter ) : string>.IDictionary
GetHttpContext ( ) : void
TryGetHttpContextPropertyFromAppDomain ( ) : void

Описание методов

Create() публичный Метод

Creates a new instance of SentryRequest for the current packet.
public Create ( ) : ISentryRequest
Результат ISentryRequest

OnCreate() публичный Метод

Called when the SentryRequest has been created. Can be overridden to adjust the values of the request before it is sent to Sentry.
public OnCreate ( SentryRequest request ) : SentryRequest
request SentryRequest The HTTP request information.
Результат SentryRequest