Class Package
Represents a package used to compose the SDK
Inherited Members
Namespace: Sentry.Protocol
Assembly: Sentry.Protocol.dll
Syntax
[DataContract]
public class Package
Constructors
| Improve this Doc View SourcePackage(String, String)
Creates a new instance of a Package
Declaration
public Package(string name, string version)
Parameters
Type | Name | Description |
---|---|---|
String | name | The package name. |
String | version | The package version. |
Properties
| Improve this Doc View SourceName
The name of the package
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Examples
nuget:Sentry nuget:Sentry.AspNetCore
| Improve this Doc View SourceVersion
The version of the package
Declaration
[DataMember(Name = "version", EmitDefaultValue = false)]
public string Version { get; }
Property Value
Type | Description |
---|---|
String |
Examples
1.0.0-rc1