C# Class SharpRaven.Data.JsonPacket

Afficher le fichier Open project: getsentry/raven-csharp Class Usage Examples

Private Properties

Свойство Type Description
Initialize void
JsonPacket System
Merge object

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

JsonPacket() public méthode

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

JsonPacket() public méthode

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

ToString() public méthode

Converts the JsonPacket into a JSON string.
public ToString ( ) : string
Résultat string

ToString() public méthode

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