Skip to content

Commit 983436c

Browse files
Update README.md
1 parent 4405ca3 commit 983436c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ internal class FooPublisher
4848

4949
public FooPublisher(IEventHubPublisherFactory factory)
5050
{
51-
publisher = factory.Create([existing eventhub name]);
51+
publisher = factory.Create("[existing eventhub name]");
5252
}
5353

5454
public Task Publish(object message)
@@ -103,11 +103,6 @@ app.MapPost(
103103

104104
app.Run();
105105

106-
#pragma warning disable MA0048 // File name must match type name
107-
#pragma warning disable SA1649 // File name should match first type name
108-
#pragma warning disable MA0047 // Declare types in namespaces
109-
#pragma warning disable S3903 // Types should be defined in named namespaces
110-
111106
internal class SendDataHandler
112107
{
113108
private readonly IEventHubPublisher eventHubPublisher;

0 commit comments

Comments
 (0)