Skip to content

Commit c52bd2c

Browse files
committed
Fix build warnings
1 parent 842c6c2 commit c52bd2c

7 files changed

Lines changed: 26 additions & 1 deletion

docs/guide/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ public class EventStreamHandler(IMediator mediator)
170170
}
171171
```
172172

173-
Every notification published anywhere in the app is now pushed to connected clients over SSE — no bridging layer needed. You can subscribe to any type, including interfaces; any published notification assignable to the type parameter will be delivered. See [Dynamic Subscriptions](./streaming-handlers#dynamic-subscriptions-with-subscribeasync) for the full API.
173+
Every notification published anywhere in the app is now pushed to connected clients over SSE.
174+
175+
You can use `SubscribeAsync` to subscribe to any type, including interfaces; any published messages assignable to the type parameter will be delivered. See [Dynamic Subscriptions](./streaming-handlers#dynamic-subscriptions-with-subscribeasync) for the full API.
174176

175177
## Middleware
176178

src/Foundatio.Mediator/Utility/Helpers.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public static void AddGeneratedFileHeader(this IndentedStringBuilder source, boo
2626
source.AppendLine("// </auto-generated>");
2727
source.AppendLine();
2828
source.AppendLine("#nullable enable");
29+
source.AppendLine("#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member");
2930
source.AppendLine();
3031
}
3132

tests/Foundatio.Mediator.Tests/BasicHandlerGenerationTests.DefaultStaticHandler_WithOTel.verified.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// </auto-generated>
1111

1212
#nullable enable
13+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
1314

1415

1516
using Microsoft.Extensions.DependencyInjection;
@@ -58,6 +59,7 @@ public static class Tests_MediatorHandlers
5859
// </auto-generated>
5960

6061
#nullable enable
62+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
6163

6264
using System;
6365

@@ -101,6 +103,7 @@ internal sealed class InterceptsLocationAttribute : global::System.Attribute
101103
// </auto-generated>
102104

103105
#nullable enable
106+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
104107

105108
using System;
106109
using System.Diagnostics.CodeAnalysis;
@@ -247,6 +250,7 @@ internal static class MediatorHelpers
247250
// </auto-generated>
248251

249252
#nullable enable
253+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
250254

251255
using System;
252256
using System.Collections.Generic;

tests/Foundatio.Mediator.Tests/BasicHandlerGenerationTests.EndpointGeneration.verified.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// </auto-generated>
1111

1212
#nullable enable
13+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
1314

1415

1516
using Microsoft.Extensions.DependencyInjection;
@@ -58,6 +59,7 @@ public static class Tests_MediatorHandlers
5859
// </auto-generated>
5960

6061
#nullable enable
62+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
6163

6264
using System;
6365

@@ -101,6 +103,7 @@ internal sealed class InterceptsLocationAttribute : global::System.Attribute
101103
// </auto-generated>
102104

103105
#nullable enable
106+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
104107

105108
using Microsoft.AspNetCore.Builder;
106109
using Microsoft.AspNetCore.Http;
@@ -141,6 +144,7 @@ public static partial class MediatorEndpointExtensions_Tests
141144
// </auto-generated>
142145

143146
#nullable enable
147+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
144148

145149
using Microsoft.AspNetCore.Builder;
146150
using Microsoft.AspNetCore.Http;
@@ -239,6 +243,7 @@ public static class MediatorEndpointResultMapper_Tests
239243
// </auto-generated>
240244

241245
#nullable enable
246+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
242247

243248
using System;
244249
using System.Diagnostics.CodeAnalysis;
@@ -385,6 +390,7 @@ internal static class MediatorHelpers
385390
// </auto-generated>
386391

387392
#nullable enable
393+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
388394

389395
using System;
390396
using System.Collections.Generic;

tests/Foundatio.Mediator.Tests/BasicHandlerGenerationTests.HandlerWithMiddlewarePipeline.verified.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// </auto-generated>
1111

1212
#nullable enable
13+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
1314

1415

1516
using Microsoft.Extensions.DependencyInjection;
@@ -61,6 +62,7 @@ public static class Tests_MediatorHandlers
6162
// </auto-generated>
6263

6364
#nullable enable
65+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
6466

6567
using System;
6668

@@ -104,6 +106,7 @@ internal sealed class InterceptsLocationAttribute : global::System.Attribute
104106
// </auto-generated>
105107

106108
#nullable enable
109+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
107110

108111
using System;
109112
using System.Diagnostics.CodeAnalysis;
@@ -250,6 +253,7 @@ internal static class MediatorHelpers
250253
// </auto-generated>
251254

252255
#nullable enable
256+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
253257

254258
using System;
255259
using System.Collections.Generic;

tests/Foundatio.Mediator.Tests/BasicHandlerGenerationTests.InterceptorGeneration.verified.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// </auto-generated>
1111

1212
#nullable enable
13+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
1314

1415

1516
using Microsoft.Extensions.DependencyInjection;
@@ -58,6 +59,7 @@ public static class Tests_MediatorHandlers
5859
// </auto-generated>
5960

6061
#nullable enable
62+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
6163

6264
using System;
6365

@@ -101,6 +103,7 @@ internal sealed class InterceptsLocationAttribute : global::System.Attribute
101103
// </auto-generated>
102104

103105
#nullable enable
106+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
104107

105108
using System;
106109
using System.Diagnostics.CodeAnalysis;
@@ -247,6 +250,7 @@ internal static class MediatorHelpers
247250
// </auto-generated>
248251

249252
#nullable enable
253+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
250254

251255
using System;
252256
using System.Collections.Generic;

tests/Foundatio.Mediator.Tests/BasicHandlerGenerationTests.ScopedDIHandler_NoOTel.verified.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// </auto-generated>
1111

1212
#nullable enable
13+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
1314

1415

1516
using Microsoft.Extensions.DependencyInjection;
@@ -59,6 +60,7 @@ public static class Tests_MediatorHandlers
5960
// </auto-generated>
6061

6162
#nullable enable
63+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
6264

6365
using System;
6466

@@ -102,6 +104,7 @@ internal sealed class InterceptsLocationAttribute : global::System.Attribute
102104
// </auto-generated>
103105

104106
#nullable enable
107+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
105108

106109
using System;
107110
using System.Diagnostics.CodeAnalysis;
@@ -248,6 +251,7 @@ internal static class MediatorHelpers
248251
// </auto-generated>
249252

250253
#nullable enable
254+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
251255

252256
using System;
253257
using System.Collections.Generic;

0 commit comments

Comments
 (0)