• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dapplo / Dapplo.Windows / 22231723592

20 Feb 2026 04:16PM UTC coverage: 33.416% (-0.07%) from 33.49%
22231723592

push

github

Lakritzator
Small fixes for tests and namespaces

611 of 1948 branches covered (31.37%)

Branch coverage included in aggregate %.

2 of 8 new or added lines in 2 files covered. (25.0%)

231 existing lines in 16 files now uncovered.

1668 of 4872 relevant lines covered (34.24%)

30.47 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Dapplo.Windows.Messages/WinProcHandlerHook.cs
1
// Copyright (c) Dapplo and contributors. All rights reserved.
2
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
#if !NETSTANDARD2_0
4
using System;
5
using System.Windows.Interop;
6

7
namespace Dapplo.Windows.Messages
8
{
9
    /// <summary>
10
    /// Wrapper of the HwndSourceHook for the WinProcHandler, to allow to specify a disposable
11
    /// </summary>
12
    public class WinProcHandlerHook
13
    {
14
        /// <summary>
15
        /// The actual HwndSourceHook
16
        /// </summary>
UNCOV
17
        public HwndSourceHook Hook { get; }
×
18

19
        /// <summary>
20
        /// Optional disposable which is called to make a cleanup possible
21
        /// </summary>
UNCOV
22
        public IDisposable Disposable { get; set; }
×
23

24
        /// <summary>
25
        /// Default constructor, taking the needed HwndSourceHook
26
        /// </summary>
27
        /// <param name="hook">HwndSourceHook</param>
UNCOV
28
        public WinProcHandlerHook(HwndSourceHook hook)
×
29
        {
UNCOV
30
            Hook = hook;
×
UNCOV
31
        }
×
32
    }
33
}
34
#endif
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc