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

EA add static instance #2868

Merged
merged 3 commits into from
May 18, 2023
Merged

EA add static instance #2868

merged 3 commits into from
May 18, 2023

Conversation

dansiegel
Copy link
Member

@dansiegel dansiegel commented May 18, 2023

Description of Change

Adds a static Current instance of the EventAggregator. This is useful for scenarios when working in native code where you may not have easy access to CI however you need to publish or subscribe to events.

Bugs Fixed

  • n/a

API Changes

List all API changes here (or just put None), example:

Added:

  • static IEventAggregator Current { get; set; }

Behavioral Changes

n/a

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

@dansiegel dansiegel enabled auto-merge May 18, 2023 19:00
@dansiegel dansiegel merged commit 7b5f81d into master May 18, 2023
@brianlagunas brianlagunas deleted the ea-current branch May 18, 2023 23:42
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