Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge SentryOptionsExtensions to SentryOptions #3195

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Mar 5, 2024

In PowerShell, extension classes are just standard classes with static methods, so you had to do

[Sentry.SentryOptionsExtensions]::AddEventProcessor($options, [EventUpdater]::new())

with this PR, you can now:

$options.AddEventProcessor( [EventUpdater]::new())

@vaind vaind force-pushed the chore/merge-options-extensions branch from 5ddbf5d to 27f2aee Compare March 13, 2024 07:19
@vaind vaind marked this pull request as ready for review March 13, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants