Skip to content

Commit

Permalink
fixed debug output of the Request.ServiceType
Browse files Browse the repository at this point in the history
  • Loading branch information
dadhi committed Nov 12, 2023
1 parent cb8bd41 commit 5d5eefd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/DryIoc/Container.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10229,7 +10229,10 @@ public StringBuilder PrintCurrent(StringBuilder s = null)
s.Print(implType).Append(": ");
}

s.Append(ServiceTypeOrInfo is ParameterInfo pi ? ParameterServiceInfo.Of(pi) : ServiceTypeOrInfo);
if (ServiceTypeOrInfo is ParameterInfo pi)
s.Append(ParameterServiceInfo.Of(pi));
else
s.Print((Type)ServiceTypeOrInfo);

var f = Factory;
if (f != null && f is ReflectionFactory == false)
Expand Down

0 comments on commit 5d5eefd

Please sign in to comment.