![]() |
1
2
|
![]() |
2
2
我不确定我是否理解你的问题,但如果你想通过
调用“genericized”函数。 您需要将函数声明为:
|
![]() |
3
0
你想做的就是“讨价还价”。我有一个在vb.net中使用的模式;我不确定它是最好的模式,但是它应该能够适应C而不会有太多麻烦。请注意,虽然使用lambda表达式会限制您使用“编辑并继续”的能力,但使用curry工厂不会造成这种限制。 以下是我的问题的链接: What is the best pattern to curry delegate parameters (using .NET 2.0 or later)? 这应该很好地翻译成c;任何时候你看到以“(of)”开头的括号,用尖括号替换它们;“byref foo as bar”和“dim foo as bar”都变成“bar foo”。 |
|
Robert King · Unity C#语法问题-转换位置 1 年前 |
![]() |
JBryanB · 如何从基本抽象类访问类属性 1 年前 |
|
law · 检查答案按钮的输入字符串格式不正确 2 年前 |
![]() |
i_sniff_ket · 在unity之外使用unity类 2 年前 |