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

loresoft / KickStart / 17529667504

07 Sep 2025 02:14PM UTC coverage: 60.921%. Remained the same
17529667504

push

github

pwelter34
reformat code base

162 of 364 branches covered (44.51%)

Branch coverage included in aggregate %.

634 of 951 new or added lines in 72 files covered. (66.67%)

4 existing lines in 4 files now uncovered.

658 of 982 relevant lines covered (67.01%)

20.4 hits per line

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

83.33
/src/KickStart/StartupTask/StartupTaskBase.cs
1
namespace KickStart.StartupTask;
2

3
/// <summary>
4
/// Base class for start tasks, must override <see cref="Run(IDictionary{string, object})"/> or <see cref="RunAsync(IDictionary{string, object})"/>
5
/// </summary>
6
public abstract class StartupTaskBase : IStartupTask
7
{
8
    /// <summary>
9
    /// Initializes a new instance of the <see cref="StartupTaskBase"/> class.
10
    /// </summary>
11
    protected StartupTaskBase()
9✔
12
    {
13
        Priority = int.MaxValue;
9✔
14
    }
9✔
15

16
    /// <summary>
17
    /// Gets the priority of this task. Lower numbers run first.
18
    /// </summary>
19
    /// <value>
20
    /// The priority of this task.
21
    /// </value>
22
    public int Priority { get; set; }
19✔
23

24
    /// <summary>
25
    /// Runs the startup task with the specified context <paramref name="data"/>.
26
    /// </summary>
27
    /// <param name="data">The data dictionary shared with all starter modules.</param>
28
    public virtual void Run(IDictionary<string, object> data)
29
    {
NEW
30
        throw new NotImplementedException();
×
31
    }
32

33
    /// <summary>
34
    /// Runs the startup task with the specified context <paramref name="data"/> asynchronously.
35
    /// </summary>
36
    /// <param name="data">The data dictionary shared with all starter modules.</param>
37
    public virtual Task RunAsync(IDictionary<string, object> data)
38
    {
39
        return Task.Factory.StartNew(() => Run(data));
10✔
40
    }
41
}
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

© 2025 Coveralls, Inc