C# Class SharpRaven.Data.JsonPacket

Mostrar archivo Open project: getsentry/raven-csharp Class Usage Examples

Private Properties

Property Type Description
Initialize void
JsonPacket System
Merge object

Public Methods

Method Description
JsonPacket ( string project ) : System

Initializes a new instance of the JsonPacket class.

JsonPacket ( string project, Exception exception ) : System

Initializes a new instance of the JsonPacket class.

JsonPacket ( string project, SentryEvent @event ) : System

Initializes a new instance of the JsonPacket class.

ToString ( ) : string

Converts the JsonPacket into a JSON string.

ToString ( Formatting formatting ) : string

Converts the JsonPacket into a JSON string.

Private Methods

Method Description
Initialize ( Exception exception ) : void
JsonPacket ( ) : System

Prevents a default instance of the JsonPacket class from being created.

Merge ( SentryEvent @event ) : object

Method Details

JsonPacket() public method

Initializes a new instance of the JsonPacket class.
public JsonPacket ( string project ) : System
project string The project.
return System

JsonPacket() public method

Initializes a new instance of the JsonPacket class.
public JsonPacket ( string project, Exception exception ) : System
project string The project.
exception System.Exception The .
return System

JsonPacket() public method

Initializes a new instance of the JsonPacket class.
public JsonPacket ( string project, SentryEvent @event ) : System
project string The project.
@event SentryEvent
return System

ToString() public method

Converts the JsonPacket into a JSON string.
public ToString ( ) : string
return string

ToString() public method

Converts the JsonPacket into a JSON string.
public ToString ( Formatting formatting ) : string
formatting Formatting The formatting.
return string