Skip to content

Commit c2f8101

Browse files
committed
Make DataBus no longer inherit from Feature
1 parent bb41dc6 commit c2f8101

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/NServiceBus.Core/obsoletes-v10.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -315,21 +315,12 @@ public interface IDataBusSerializer
315315

316316
namespace NServiceBus.Features
317317
{
318-
using System;
319-
320318
[ObsoleteEx(
321319
Message = "The DataBus feature has been released as a dedicated package, 'NServiceBus.ClaimCheck'",
322320
RemoveInVersion = "11",
323321
TreatAsErrorFromVersion = "10")]
324-
public class DataBus : Feature
322+
public class DataBus
325323
{
326-
internal DataBus() => throw new NotImplementedException();
327-
328-
[ObsoleteEx(
329-
Message = "The DataBus feature has been released as a dedicated package, 'NServiceBus.ClaimCheck'",
330-
RemoveInVersion = "11",
331-
TreatAsErrorFromVersion = "10")]
332-
protected internal override void Setup(FeatureConfigurationContext context) => throw new NotImplementedException();
333324
}
334325
}
335326

0 commit comments

Comments
 (0)