包含了用于VB语言构造的一些辅助函数的这个类库(译者注:这个类库即Microsoft.VisualBasic.dll,VB语言的很多基础功能都需要调用到这个类库),是作为.NET平台的一个基本功能共同发布的。
This library, which contains helper functions called by VB language constructs, is shipped with the baseline .NET platform.
如果围绕某个函数的简单方向构造一个加密算法,那么想要破解加密的任何人都需要从相反的方向来解密。
If you build an encryption algorithm around a function's easy direction, anyone wanting to break your encryption needs to work at it from the hard side.
可以在构造函数中设置所需要的装配器,但是当装配器改变时需要返回一个普通ModelMBean。
I can set the assembler I want in the constructor, but I need to return a normal ModelMBean if the assembler is changed.
这个接口的实现需要一个零参数的构造函数,供actionservlet使用,从而确保插件可以正确创建。
Implementation of this interface requires a zero-argument constructor for use by ActionServlet, to ensure the plug-in is created properly.
pool接口需要知道每个单独的元素而不是类型的大小,因为它是一个malloc风格的分配程序,不会调用构造函数。
The pool interface needs to know the size of each individual element and not the type, because it's a malloc-style allocator and doesn't call constructors.
惟一需要以这种方式使用一个类的是一个默认构造函数(它允许您创建继承自类的一个匿名内部类)。
The only thing a class needs to be used this way is a default constructor (which allows you to create an anonymous inner class instance inheriting from your class).
也许您正在构建一个框架,并且需要保证包中的所有类都有零参数的构造函数、或者所有带下划线前缀的字段都有getter而没有setter。
Maybe you're building a framework and need to make sure that all of the classes in a package have a zero-arg constructor or that all fields prefixed with an underscore have a getter but not a setter.
因此,您需要一个构造函数,该构造函数接受传入请求对象和Servlet筛选器所确定的区域设置作为参数。
So, you need a constructor that takes the incoming request object and the locale determined by the servlet filter.
如果您正在使用的框架因为某些原因需要使用这样的构造函数的话,那么您可以了解以下能否通过提供一个私有的无参数构造函数(这是经由反射可见的)来满足这一要求。
If you're using a framework that requires this for some reason, see if you can satisfy it by providing a private no-argument constructor (which is visible via reflection).
容器看到构造函数需要一个IAccountRepository和一个ILogger实例,因此它创建了那些对象(使用先前指定的特定类型)并通过构造函数传递给AccountTransfer实例。
The container sees that the constructor requires an IAccountRepository and an ILogger, so it creates those (using the concrete types previously specified) and passes them to the constructor.
如果您有一个需要某些依赖项的超类,也可以使用方法注入(构造函数注入会使这种情况变得很复杂)。
You can also use it if you have a superclass that needs some dependencies. (Constructor injection makes this difficult.)
需要一个不带参数的(zeroary)构造函数,用于所有类型参数的实例化。
Require a zeroary constructor for all type parameter instantiations.
此二构造函数都需要一个对象的引用,第二个构造函数还需要一个布尔值参数来表示我们是否需要跟踪对象的重生。
The two constructors both need a reference of an object, and the second constructor needs one more, a parameter of boolean type to indicate whether we need to track the resurrection of the object.
从下述抽象中选择一个(或一个自己定义的抽象),确定类中需要什么数据,并提供适当的构造函数集。解释你的决定。
Choose one of the following abstractions (or an abstraction of your own choosing). Determine what data is needed in the class. Provide an appropriate set of constructors. Explain your decisions.
为了满足窄锥结构动冰力函数构造的需要,提出了一个新的锥体结构冰力计算公式。
A new formula used for the ice force analysis of the narrow conical structures is presented, with which the requirements for the constructing of dynamic ice force function are satisfied.
如果你需要通过传递到另一个类的引用,只是把它作为一个参数的构造函数。
If you need to pass the JApplet's reference into another class, simply pass it in as a parameter of the constructor.
如果你需要通过传递到另一个类的引用,只是把它作为一个参数的构造函数。
If you need to pass the JApplet's reference into another class, simply pass it in as a parameter of the constructor.
应用推荐