public ProjectNotifier(IAnkhServiceProvider context) : base(context) { uint cookie; if (VSErr.Succeeded(Shell.AdviseBroadcastMessages(this, out cookie))) { _cookie = cookie; } }
public ProjectNotifier(IAnkhServiceProvider context) : base(context) { ThreadHelper.ThrowIfNotOnUIThread(); uint cookie; if (VSErr.Succeeded(Shell.AdviseBroadcastMessages(this, out cookie))) { _cookie = cookie; } }