Причесывание кода
This commit is contained in:
1 parent
14c74c5775
commit
05ee651e89
11 files changed
+56
-32
No files matched your search
@@ -91,7 +91,8 @@ namespace mROA.Implementation.Frontend
|
||||
|
||||
if (request.Parameter is not null)
|
||||
{
|
||||
var parameterType = _methodRepository!.GetMethod(request.CommandId).GetParameters().First()
|
||||
var method = _methodRepository!.GetMethod(request.CommandId);
|
||||
var parameterType = method.GetParameters().First()
|
||||
.ParameterType;
|
||||
|
||||
request.Parameter = _serializationToolkit.Cast(request.Parameter, parameterType);
|
||||
|
||||
Reference in new issue
Block a user