AddService方法被重载,以便在第一次查询服务时创建相应的服务。
The AddService method is overloaded to create services the first time they are queried.
创建一个子类,并仅仅重载您在测试方法中所使用的那些方法。
You create your subclass and override just those methods that you use in your methods under test.
函数和方法的默认参数极大地减少了需要创建的重载方法数量。
Default arguments on functions and methods greatly reduce the number of overloaded methods you need to create.
已经有太多用于创建input元素的重载方法了,框架需要在未来的很多年中对此提供支持。
There are already many, many overloads for common input elements, and they have to be supported in the framework for many years to come.
只需要为它们创建一个重载方法就可以了!
若要在自定义类中重载运算符,您需要在该类中创建具有正确签名的方法。
To overload an operator on a custom class requires creating a method on the class with the correct signature.
鼓励创建细化方法,以简化重载。
Encourages the creation of finer-grained methods to simplify overriding.
鼓励创建细化方法,以简化重载。
Encourages the creation of finer-grained methods to simplify overriding.
应用推荐