@@ -100,232 +100,232 @@ protected ConfigurationBuilderBase()
100100 }
101101 }
102102
103- public virtual TConfigurationBuilder WithAssemblyVersioningScheme ( AssemblyVersioningScheme ? value )
103+ public TConfigurationBuilder WithAssemblyVersioningScheme ( AssemblyVersioningScheme ? value )
104104 {
105105 this . assemblyVersioningScheme = value ;
106106 return ( TConfigurationBuilder ) this ;
107107 }
108108
109- public virtual TConfigurationBuilder WithAssemblyFileVersioningScheme ( AssemblyFileVersioningScheme ? value )
109+ public TConfigurationBuilder WithAssemblyFileVersioningScheme ( AssemblyFileVersioningScheme ? value )
110110 {
111111 this . assemblyFileVersioningScheme = value ;
112112 return ( TConfigurationBuilder ) this ;
113113 }
114114
115- public virtual TConfigurationBuilder WithAssemblyInformationalFormat ( string ? value )
115+ public TConfigurationBuilder WithAssemblyInformationalFormat ( string ? value )
116116 {
117117 this . assemblyInformationalFormat = value ;
118118 return ( TConfigurationBuilder ) this ;
119119 }
120120
121- public virtual TConfigurationBuilder WithAssemblyVersioningFormat ( string ? value )
121+ public TConfigurationBuilder WithAssemblyVersioningFormat ( string ? value )
122122 {
123123 this . assemblyVersioningFormat = value ;
124124 return ( TConfigurationBuilder ) this ;
125125 }
126126
127- public virtual TConfigurationBuilder WithAssemblyFileVersioningFormat ( string ? value )
127+ public TConfigurationBuilder WithAssemblyFileVersioningFormat ( string ? value )
128128 {
129129 this . assemblyFileVersioningFormat = value ;
130130 return ( TConfigurationBuilder ) this ;
131131 }
132132
133- public virtual TConfigurationBuilder WithTagPrefixPattern ( string ? value )
133+ public TConfigurationBuilder WithTagPrefixPattern ( string ? value )
134134 {
135135 this . tagPrefix = value ;
136136 return ( TConfigurationBuilder ) this ;
137137 }
138138
139- public virtual TConfigurationBuilder WithVersionInBranchPattern ( string ? value )
139+ public TConfigurationBuilder WithVersionInBranchPattern ( string ? value )
140140 {
141141 this . versionInBranchPattern = value ;
142142 return ( TConfigurationBuilder ) this ;
143143 }
144144
145- public virtual TConfigurationBuilder WithNextVersion ( string ? value )
145+ public TConfigurationBuilder WithNextVersion ( string ? value )
146146 {
147147 this . nextVersion = value ;
148148 return ( TConfigurationBuilder ) this ;
149149 }
150150
151- public virtual TConfigurationBuilder WithMajorVersionBumpMessage ( string ? value )
151+ public TConfigurationBuilder WithMajorVersionBumpMessage ( string ? value )
152152 {
153153 this . majorVersionBumpMessage = value ;
154154 return ( TConfigurationBuilder ) this ;
155155 }
156156
157- public virtual TConfigurationBuilder WithMinorVersionBumpMessage ( string ? value )
157+ public TConfigurationBuilder WithMinorVersionBumpMessage ( string ? value )
158158 {
159159 this . minorVersionBumpMessage = value ;
160160 return ( TConfigurationBuilder ) this ;
161161 }
162162
163- public virtual TConfigurationBuilder WithPatchVersionBumpMessage ( string ? value )
163+ public TConfigurationBuilder WithPatchVersionBumpMessage ( string ? value )
164164 {
165165 this . patchVersionBumpMessage = value ;
166166 return ( TConfigurationBuilder ) this ;
167167 }
168168
169- public virtual TConfigurationBuilder WithNoBumpMessage ( string ? value )
169+ public TConfigurationBuilder WithNoBumpMessage ( string ? value )
170170 {
171171 this . noBumpMessage = value ;
172172 return ( TConfigurationBuilder ) this ;
173173 }
174174
175- public virtual TConfigurationBuilder WithTagPreReleaseWeight ( int ? value )
175+ public TConfigurationBuilder WithTagPreReleaseWeight ( int ? value )
176176 {
177177 this . tagPreReleaseWeight = value ;
178178 return ( TConfigurationBuilder ) this ;
179179 }
180180
181- public virtual TConfigurationBuilder WithIgnoreConfiguration ( IIgnoreConfiguration value )
181+ public TConfigurationBuilder WithIgnoreConfiguration ( IIgnoreConfiguration value )
182182 {
183183 this . ignore = ( IgnoreConfiguration ) value ;
184184 return ( TConfigurationBuilder ) this ;
185185 }
186186
187- public virtual TConfigurationBuilder WithCommitDateFormat ( string ? value )
187+ public TConfigurationBuilder WithCommitDateFormat ( string ? value )
188188 {
189189 this . commitDateFormat = value ;
190190 return ( TConfigurationBuilder ) this ;
191191 }
192192
193- public virtual TConfigurationBuilder WithUpdateBuildNumber ( bool value )
193+ public TConfigurationBuilder WithUpdateBuildNumber ( bool value )
194194 {
195195 this . updateBuildNumber = value ;
196196 return ( TConfigurationBuilder ) this ;
197197 }
198198
199- public virtual TConfigurationBuilder WithSemanticVersionFormat ( SemanticVersionFormat value )
199+ public TConfigurationBuilder WithSemanticVersionFormat ( SemanticVersionFormat value )
200200 {
201201 this . semanticVersionFormat = value ;
202202 return ( TConfigurationBuilder ) this ;
203203 }
204204
205- public virtual TConfigurationBuilder WithVersionStrategy ( VersionStrategies value )
205+ public TConfigurationBuilder WithVersionStrategy ( VersionStrategies value )
206206 {
207207 this . versionStrategies = Enum . GetValues < VersionStrategies > ( )
208208 . Where ( element => element != VersionStrategies . None && value . HasFlag ( element ) )
209209 . ToArray ( ) ;
210210 return ( TConfigurationBuilder ) this ;
211211 }
212212
213- public virtual TConfigurationBuilder WithVersionStrategies ( params VersionStrategies [ ] values )
213+ public TConfigurationBuilder WithVersionStrategies ( params VersionStrategies [ ] values )
214214 {
215215 this . versionStrategies = values ;
216216 return ( TConfigurationBuilder ) this ;
217217 }
218218
219- public virtual TConfigurationBuilder WithMergeMessageFormats ( IReadOnlyDictionary < string , string > value )
219+ public TConfigurationBuilder WithMergeMessageFormats ( IReadOnlyDictionary < string , string > value )
220220 {
221221 this . mergeMessageFormats = new ( value ) ;
222222 return ( TConfigurationBuilder ) this ;
223223 }
224224
225- public virtual TConfigurationBuilder WithoutBranches ( )
225+ public TConfigurationBuilder WithoutBranches ( )
226226 {
227227 this . branchConfigurationBuilders . Clear ( ) ;
228228 return ( TConfigurationBuilder ) this ;
229229 }
230230
231- public virtual BranchConfigurationBuilder WithBranch ( string value )
231+ public BranchConfigurationBuilder WithBranch ( string value )
232232 => this . branchConfigurationBuilders . GetOrAdd ( value , ( ) => BranchConfigurationBuilder . New ) ;
233233
234- public virtual BranchConfigurationBuilder WithBranch ( string value , BranchConfigurationBuilder builder )
234+ public BranchConfigurationBuilder WithBranch ( string value , BranchConfigurationBuilder builder )
235235 => this . branchConfigurationBuilders . GetOrAdd ( value , ( ) => builder ) ;
236236
237- public virtual TConfigurationBuilder WithBranch ( string value , Action < BranchConfigurationBuilder > action )
237+ public TConfigurationBuilder WithBranch ( string value , Action < BranchConfigurationBuilder > action )
238238 {
239239 var result = this . branchConfigurationBuilders . GetOrAdd ( value , ( ) => BranchConfigurationBuilder . New ) ;
240240 action ( result ) ;
241241 return ( TConfigurationBuilder ) this ;
242242 }
243243
244- public virtual TConfigurationBuilder WithDeploymentMode ( DeploymentMode ? value )
244+ public TConfigurationBuilder WithDeploymentMode ( DeploymentMode ? value )
245245 {
246246 this . versioningMode = value ;
247247 return ( TConfigurationBuilder ) this ;
248248 }
249249
250- public virtual TConfigurationBuilder WithLabel ( string ? value )
250+ public TConfigurationBuilder WithLabel ( string ? value )
251251 {
252252 this . label = value ;
253253 return ( TConfigurationBuilder ) this ;
254254 }
255255
256- public virtual TConfigurationBuilder WithIncrement ( IncrementStrategy value )
256+ public TConfigurationBuilder WithIncrement ( IncrementStrategy value )
257257 {
258258 this . increment = value ;
259259 return ( TConfigurationBuilder ) this ;
260260 }
261261
262- public virtual TConfigurationBuilder WithPreventIncrementOfMergedBranch ( bool ? value )
262+ public TConfigurationBuilder WithPreventIncrementOfMergedBranch ( bool ? value )
263263 {
264264 this . preventIncrementOfMergedBranch = value ;
265265 return ( TConfigurationBuilder ) this ;
266266 }
267267
268- public virtual TConfigurationBuilder WithPreventIncrementWhenBranchMerged ( bool ? value )
268+ public TConfigurationBuilder WithPreventIncrementWhenBranchMerged ( bool ? value )
269269 {
270270 this . preventIncrementWhenBranchMerged = value ;
271271 return ( TConfigurationBuilder ) this ;
272272 }
273273
274- public virtual TConfigurationBuilder WithPreventIncrementWhenCurrentCommitTagged ( bool ? value )
274+ public TConfigurationBuilder WithPreventIncrementWhenCurrentCommitTagged ( bool ? value )
275275 {
276276 this . preventIncrementWhenCurrentCommitTagged = value ;
277277 return ( TConfigurationBuilder ) this ;
278278 }
279279
280- public virtual TConfigurationBuilder WithTrackMergeTarget ( bool ? value )
280+ public TConfigurationBuilder WithTrackMergeTarget ( bool ? value )
281281 {
282282 this . trackMergeTarget = value ;
283283 return ( TConfigurationBuilder ) this ;
284284 }
285285
286- public virtual TConfigurationBuilder WithTrackMergeMessage ( bool ? value )
286+ public TConfigurationBuilder WithTrackMergeMessage ( bool ? value )
287287 {
288288 this . trackMergeMessage = value ;
289289 return ( TConfigurationBuilder ) this ;
290290 }
291291
292- public virtual TConfigurationBuilder WithCommitMessageIncrementing ( CommitMessageIncrementMode ? value )
292+ public TConfigurationBuilder WithCommitMessageIncrementing ( CommitMessageIncrementMode ? value )
293293 {
294294 this . commitMessageIncrementing = value ;
295295 return ( TConfigurationBuilder ) this ;
296296 }
297297
298- public virtual TConfigurationBuilder WithRegularExpression ( string ? value )
298+ public TConfigurationBuilder WithRegularExpression ( string ? value )
299299 {
300300 this . regularExpression = value ;
301301 return ( TConfigurationBuilder ) this ;
302302 }
303303
304- public virtual TConfigurationBuilder WithTracksReleaseBranches ( bool ? value )
304+ public TConfigurationBuilder WithTracksReleaseBranches ( bool ? value )
305305 {
306306 this . tracksReleaseBranches = value ;
307307 return ( TConfigurationBuilder ) this ;
308308 }
309309
310- public virtual TConfigurationBuilder WithIsReleaseBranch ( bool ? value )
310+ public TConfigurationBuilder WithIsReleaseBranch ( bool ? value )
311311 {
312312 this . isReleaseBranch = value ;
313313 return ( TConfigurationBuilder ) this ;
314314 }
315315
316- public virtual TConfigurationBuilder WithIsMainBranch ( bool ? value )
316+ public TConfigurationBuilder WithIsMainBranch ( bool ? value )
317317 {
318318 this . isMainBranch = value ;
319319 return ( TConfigurationBuilder ) this ;
320320 }
321321
322- public virtual TConfigurationBuilder WithPreReleaseWeight ( int ? value )
322+ public TConfigurationBuilder WithPreReleaseWeight ( int ? value )
323323 {
324324 this . preReleaseWeight = value ;
325325 return ( TConfigurationBuilder ) this ;
326326 }
327327
328- public virtual TConfigurationBuilder WithConfiguration ( IGitVersionConfiguration value )
328+ public TConfigurationBuilder WithConfiguration ( IGitVersionConfiguration value )
329329 {
330330 WithAssemblyVersioningScheme ( value . AssemblyVersioningScheme ) ;
331331 WithAssemblyFileVersioningScheme ( value . AssemblyFileVersioningScheme ) ;
0 commit comments