Skip to content

Commit

Permalink
Changed constants in keyedregistration helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
alkampfergit committed Mar 11, 2024
1 parent 7437a7c commit 36bbbf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public string GetOrCreateKey(object key, ServiceDescriptor serviceDescriptor)
{
ArgumentNullException.ThrowIfNull(key);

var registrationKey = $"{KeyedRegistrationPrefix}+{Guid.NewGuid():X}";
var registrationKey = $"{KeyedRegistrationPrefix}+{Guid.NewGuid():N}";
var registration = CreateRegistration(key, serviceDescriptor, registrationKey);
if (!_keyToRegistrationMap.TryGetValue(key, out var registrations))
{
Expand Down

0 comments on commit 36bbbf1

Please sign in to comment.