• Finally, document your static classes well.

    最后,请对您的静态类进行很好的记录。

    youdao

  • Can be used as an alternative to static classes.

    可以用作静态类的替代品。

    youdao

  • Describes guidelines for designing static classes.

    描述设计静态类的准则。

    youdao

  • Static classes and structs can also have constructors.

    静态类别和结构也可以拥有建构函式。

    youdao

  • Extension methods can only be declared in static classes.

    扩展方法仅可声明在静态类中。

    youdao

  • Static classes are sealed and therefore cannot be inherited.

    静态类别是密封的,因此无法继承。

    youdao

  • Do not declare or override instance members in static classes.

    不要声明或重写静态类中的实例成员。

    youdao

  • Is there a better way than using static classes or singletons for MVVM?

    还有比使用静态类或单身MVVM更好的办法?

    youdao

  • The following guidelines help ensure that your static classes are correctly designed.

    下面的准则有助于确保正确设计静态类。

    youdao

  • Static classes should be used only as supporting classes for the object-oriented core of the framework.

    静态类只应用作面向对象的框架核心的支持类。

    youdao

  • You should also remember that static classes that preserve state between method calls should be made thread safe by default.

    您还应该记得,在方法调用之间保留状态的静态类在默认情况下应该是线程安全的。

    youdao

  • Do declare static classes as sealed and abstract, and add a private instance constructor, if your programming language does not have built-in support for static classes.

    如果编程语言没有对静态类的内置支持,则应将静态类声明为密封的和抽象的,并添加一个私有实例构造函数。

    youdao

  • Note: All methods in these classes are static, so the test developer does not need to instantiate an object of this type to use them.

    注意:这些类中的所有方法都是静态的,所以测试开发人员不需要将这个类实例化为一个对象就可以使用这些方法。

    youdao

  • Figure 1 illustrates the static relationship between the classes described.

    图1说明了所描述的类之间的静态关系。

    youdao

  • To invoke static methods in different classes, map each fully qualified class name to a different prefix.

    要调用其他类中的静态方法,可将完全限定名称映射到另外一个前缀。

    youdao

  • First, it initializes those system classes that don't require thread support by executing their static initializers.

    首先,它初始化这些系统类不需要线程支持来执行这些静态的初始化。

    youdao

  • These tools generally allow for the creation of static and dynamic models of the software, including classes, activity, state, components, and the overall model structure (packages).

    这些工具通常允许创建软件的静态和动态模型,包括类、活动、状态、组件和整体的模型结构(包)。

    youdao

  • Also, static methods can cause problems if people extend your classes because they can't be overridden properly.

    另外,如果有人扩展类,因为无法正确覆盖这些方法,静态方法可能会引发问题。

    youdao

  • Another important addition to PHP V5 is support for static members and methods on classes.

    PHPV 5中的另一个重要的新功能是支持对类使用静态成员和方法。

    youdao

  • The recommended approach is to use static inner classes, if you must use an inner class at all.

    推荐的做法是如果非要使用内部类的话,请使用静态内部类。

    youdao

  • In various common situations, you may want to create classes in more dynamic ways than simply running static code for their creation.

    在各种条件下,创建类时,也许想用比简单地运行静态编码更加动态的方法。

    youdao

  • It would be much better to simply prevent the programmer from referring to generic types in static fields, as is done in the case of static methods and classes.

    象对静态方法和类所做的那样,只要防止程序员在静态字段中引用泛型类型,情况就会好很多。

    youdao

  • To deploy the framework, you package the compiled classes for the framework along with static HTML files and other resources in a folder structured as an exploded WAR file.

    要部署框架,需要把框架的编译类以及静态HTML文件和其他资源封装到一个文件夹中,结构类似 WAR 文件。

    youdao

  • Now that we have seen some enhancements with static methods and members, let's take a look at some new classes added to a very useful part of PHP V5: the Standard PHP Library.

    现在您已经了解了有关静态方法和成员的增强,现在让我们看一看PHPV 5中新添的类,它们构成了非常有用的部分:标准php库。

    youdao

  • Its static analysis analyzes source code and byte code, is pattern-based as well as flow - and path-based, and is capable of finding rule violations that cross methods, classes, and packages.

    其静态分析功能分析源代码和字节代码,基于模式以及基于流和基于路径,并且能够跨方法、类和包查找违规行为。

    youdao

  • This problem could be overcome by allowing static registration of specific factory methods and classes for specific types.

    通过允许特定类型的特定factory方法和类的静态注册,可以克服这个问题。

    youdao

  • The first thing to do when you use these classes is to create a new session instance with the static method createBOSession().

    在使用这些类时,您要做的第一件事就是利用静态方法createBOSession()创建一个新的会话实例。

    youdao

  • Most importantly, for our purposes, it generates the static client classes into other projects so they can call a web service.

    而其中最为重要的就是在其它项目中生成静态客户机类,使它们可以调用这个Web服务。

    youdao

  • Combining the two sets of issues is not simple: dynamic analysis speaks in terms of URLs and parameters, while static analysis discusses classes and lines of code.

    将这两个问题集合联合起来并不是意见简单的事情:动态分析以urls和参数的形式说明,而静态分析则讨论代码的类和行。

    youdao

  • Combining the two sets of issues is not simple: dynamic analysis speaks in terms of URLs and parameters, while static analysis discusses classes and lines of code.

    将这两个问题集合联合起来并不是意见简单的事情:动态分析以urls和参数的形式说明,而静态分析则讨论代码的类和行。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定