• <tfoot id='soTtd'></tfoot>

        <small id='soTtd'></small><noframes id='soTtd'>

        • <bdo id='soTtd'></bdo><ul id='soTtd'></ul>
        <legend id='soTtd'><style id='soTtd'><dir id='soTtd'><q id='soTtd'></q></dir></style></legend>
        <i id='soTtd'><tr id='soTtd'><dt id='soTtd'><q id='soTtd'><span id='soTtd'><b id='soTtd'><form id='soTtd'><ins id='soTtd'></ins><ul id='soTtd'></ul><sub id='soTtd'></sub></form><legend id='soTtd'></legend><bdo id='soTtd'><pre id='soTtd'><center id='soTtd'></center></pre></bdo></b><th id='soTtd'></th></span></q></dt></tr></i><div id='soTtd'><tfoot id='soTtd'></tfoot><dl id='soTtd'><fieldset id='soTtd'></fieldset></dl></div>

        应该添加还是删除这些论点?

        时间:2023-06-02

        <small id='TUSFC'></small><noframes id='TUSFC'>

          <legend id='TUSFC'><style id='TUSFC'><dir id='TUSFC'><q id='TUSFC'></q></dir></style></legend>
            <tfoot id='TUSFC'></tfoot>

                  <bdo id='TUSFC'></bdo><ul id='TUSFC'></ul>
                • <i id='TUSFC'><tr id='TUSFC'><dt id='TUSFC'><q id='TUSFC'><span id='TUSFC'><b id='TUSFC'><form id='TUSFC'><ins id='TUSFC'></ins><ul id='TUSFC'></ul><sub id='TUSFC'></sub></form><legend id='TUSFC'></legend><bdo id='TUSFC'><pre id='TUSFC'><center id='TUSFC'></center></pre></bdo></b><th id='TUSFC'></th></span></q></dt></tr></i><div id='TUSFC'><tfoot id='TUSFC'></tfoot><dl id='TUSFC'><fieldset id='TUSFC'></fieldset></dl></div>
                    <tbody id='TUSFC'></tbody>
                • 本文介绍了应该添加还是删除这些论点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  当 Resharper 与自己争论时,人们如何知道更信任哪个角色?

                  When Resharper argues with itself, how does one know which persona to give more credence?

                  我想我发现了一些确实让 Resharper 感到困惑的代码(这显然是一个非常不寻常的案例 - 在使用了一天之后,我认为 Resharper 是蜜蜂的膝盖/自液化面包等以来最伟大的东西).

                  I think I have found some code that does confuse Resharper (this is apparently a very unusual case - after using it for a day, I think Resharper is the bee's knees/the greatest thing since liquified bread, etc.).

                  有了这行代码:

                  ICryptoTransform Encryptor = RijndaelCipher.CreateEncryptor(SecretKey.GetBytes(32), SecretKey.GetBytes(16));
                  

                  Resharper 告诉我添加参数名称'rgbkey'" 然后添加参数名称'rgbIV'"

                  Resharper tells me to "add argument name 'rgbkey'" and then "add argument name 'rgbIV'"

                  所以这条线是:

                  ICryptoTransform Encryptor = RijndaelCipher.CreateEncryptor(rgbKey: SecretKey.GetBytes(32), rgbIV: SecretKey.GetBytes(16));
                  

                  不过,当我再次运行 Resharper 时,它会说,

                  When I run Resharper again, though, it says,

                  冗余参数名称规范"-删除参数名称规范"(rgbkey)(然后是 rgbIV).

                  "Redundant argument name specification" - "Remove argument name specification" (rgbkey) (and then rgbIV).

                  不过,似乎任何一种方式都可以正常工作......

                  It seems either way works fine, though...

                  推荐答案

                  显式参数命名在强制参数上是可选的,所以这两种形式都是正确的",问题是你更喜欢哪个?正如 vcsjones 所说,Resharper 只是为您提供一些重构选项以满足您的偏好.

                  Explicit parameter naming is optional on mandatory parameters, so both forms are "correct," the question is which do you like better? Like vcsjones said, Resharper is just giving you some refactoring options to suit your preferences.

                  这篇关于应该添加还是删除这些论点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:C# PasswordDeriveBytes 混淆 下一篇:如何使用密码生成 Rijndael KEY 和 IV?

                  相关文章

                  最新文章

                  <small id='7VvZd'></small><noframes id='7VvZd'>

                    <bdo id='7VvZd'></bdo><ul id='7VvZd'></ul>
                  <legend id='7VvZd'><style id='7VvZd'><dir id='7VvZd'><q id='7VvZd'></q></dir></style></legend>
                • <i id='7VvZd'><tr id='7VvZd'><dt id='7VvZd'><q id='7VvZd'><span id='7VvZd'><b id='7VvZd'><form id='7VvZd'><ins id='7VvZd'></ins><ul id='7VvZd'></ul><sub id='7VvZd'></sub></form><legend id='7VvZd'></legend><bdo id='7VvZd'><pre id='7VvZd'><center id='7VvZd'></center></pre></bdo></b><th id='7VvZd'></th></span></q></dt></tr></i><div id='7VvZd'><tfoot id='7VvZd'></tfoot><dl id='7VvZd'><fieldset id='7VvZd'></fieldset></dl></div>

                      <tfoot id='7VvZd'></tfoot>