Browse Source

Merge pull request #116 from gerryge/gerry

Invoker parameter name is not the same with the parameter value
pull/120/head
Engincan VESKE 4 years ago
committed by GitHub
parent
commit
2ea77caeea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/EventHub.Domain/Events/Event.cs

2
src/EventHub.Domain/Events/Event.cs

@ -66,7 +66,7 @@ namespace EventHub.Events
: base(id) : base(id)
{ {
OrganizationId = organizationId; OrganizationId = organizationId;
UrlCode = Check.NotNullOrWhiteSpace(urlCode, urlCode, EventConsts.UrlCodeLength, EventConsts.UrlCodeLength); UrlCode = Check.NotNullOrWhiteSpace(urlCode, nameof(urlCode), EventConsts.UrlCodeLength, EventConsts.UrlCodeLength);
SetTitle(title); SetTitle(title);
SetDescription(description); SetDescription(description);

Loading…
Cancel
Save