Skip to content

Commit d79cb94

Browse files
committed
Annotation on nested class fixed
1 parent 515e7b6 commit d79cb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Reflection/Commands/RunByAttributeCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public bool Generate(CommandConfiguration configuration, ref IOutput output)
4949
CommandConfiguration commandConfiguration = new CommandConfiguration(x.Command).AddParameters(x.Parameters);
5050
foreach (CommandValueParameter commandParameter in commandConfiguration.Parameters.OfType<CommandValueParameter>())
5151
{
52-
commandParameter.Value = commandParameter.Value.Replace("$NAMESPACE$", objectType.Namespace).Replace("$NAME$", objectType.Name);
52+
commandParameter.Value = commandParameter.Value.Replace("$NAMESPACE$", objectType.Namespace).Replace("$NAME$", objectType.FullName.TrimStart(objectType.Namespace + "."));
5353
}
5454
return commandConfiguration;
5555
}));

0 commit comments

Comments
 (0)