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

loresoft / EntityFrameworkCore.Generator / 16214828798

11 Jul 2025 07:52AM UTC coverage: 54.917%. First build
16214828798

Pull #678

github

web-flow
Merge fdc2d2e30 into bdcd0375a
Pull Request #678: Bump the entityframeworkcore group with 6 updates

643 of 1333 branches covered (48.24%)

Branch coverage included in aggregate %.

1881 of 3263 relevant lines covered (57.65%)

61.27 hits per line

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

0.0
/src/EntityFrameworkCore.Generator.Core/Options/TemplateOptions.cs
1
using System.Collections.Generic;
2

3
namespace EntityFrameworkCore.Generator.Options;
4

5
/// <summary>
6
/// Script Template options
7
/// </summary>
8
public class TemplateOptions : OptionsBase
9
{
10
    /// <summary>
11
    /// Initializes a new instance of the <see cref="TemplateOptions"/> class.
12
    /// </summary>
13
    /// <param name="variables">The shared variable dictionary.</param>
14
    /// <param name="prefix">The variable key prefix.</param>
15
    public TemplateOptions(VariableDictionary variables, string? prefix)
16
        : base(variables, AppendPrefix(prefix, "Template"))
×
17
    {
18
        Parameters = [];
×
19
    }
×
20

21
    /// <summary>
22
    /// Gets or sets the template file path.
23
    /// </summary>
24
    /// <value>
25
    /// The template file path.
26
    /// </value>
27
    public string? TemplatePath
28
    {
29
        get => GetProperty();
×
30
        set => SetProperty(value);
×
31
    }
32

33
    /// <summary>
34
    /// Gets or sets the name of the class
35
    /// </summary>
36
    /// <value>
37
    /// The name of the class.
38
    /// </value>
39
    public string? FileName
40
    {
41
        get => GetProperty();
×
42
        set => SetProperty(value);
×
43
    }
44

45
    /// <summary>
46
    /// Gets or sets the class namespace.
47
    /// </summary>
48
    /// <value>
49
    /// The class namespace.
50
    /// </value>
51
    public string? Namespace
52
    {
53
        get => GetProperty();
×
54
        set => SetProperty(value);
×
55
    }
56

57
    /// <summary>
58
    /// Gets or sets the base class.
59
    /// </summary>
60
    /// <value>
61
    /// The base class.
62
    /// </value>
63
    public string? BaseClass
64
    {
65
        get => GetProperty();
×
66
        set => SetProperty(value);
×
67
    }
68

69

70
    /// <summary>
71
    /// Gets or sets the output directory.  Default is the current working directory.
72
    /// </summary>
73
    /// <value>
74
    /// The output directory.
75
    /// </value>
76
    public string? Directory
77
    {
78
        get => GetProperty();
×
79
        set => SetProperty(value);
×
80
    }
81

82
    /// <summary>
83
    /// Gets or sets a value indicating whether the generated file will be overwritten.
84
    /// </summary>
85
    /// <value>
86
    ///   <c>true</c> to overwrite generated file; otherwise, <c>false</c>.
87
    /// </value>
88
    public bool Overwrite { get; set; }
×
89

90
    /// <summary>
91
    /// Gets or sets a value indicating whether the generated file will be merged via region replacement.
92
    /// </summary>
93
    /// <value>
94
    ///   <c>true</c> to merged via region replacement; otherwise, <c>false</c>.
95
    /// </value>
96
    public bool Merge { get; set; }
×
97

98
    /// <summary>
99
    /// Gets or sets the template parameters.
100
    /// </summary>
101
    /// <value>
102
    /// The template parameters.
103
    /// </value>
104
    public Dictionary<string, string> Parameters { get; }
×
105
}
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