• Initialize Static Class Members with Static Constructors.

    使用静态构造器初始化静态成员

    youdao

  • This static class helps to make mocking a lot easier in ASP.NET MVC applications.

    不过静态有助于开发者更加方便地ASP.NETMVC应用程序中创建模拟对象。

    youdao

  • A non-static class can contain static methods, fields, properties, or events.

    静态类别包含静态方法栏位属性事件。

    youdao

  • Note also that it's an error to derive a static class from any class other than object.

    还要注意任何对象派生静态错误的。

    youdao

  • You cannot declare a variable of type Static1 because it is marked as a static class.

    不能声明Static 1类型变量因为标记静态类。

    youdao

  • Over the years, we found that the early static class is one of the many learned into gold.

    多年来我们发现众多者学习金矿

    youdao

  • This class is a static class - it is sealed, abstract and does not have a public constructor.

    此类一个静态既是密封的,又是抽象的,并且没有公共构造函数。

    youdao

  • As per comments, Globals appears to be a static class, therefore it itself is not serializable.

    根据评论Globals似乎一个静态因此本身不可序列化的。

    youdao

  • If the nested class is a static class, a box showing a preview of the refactoring displays right away.

    如果这个嵌套静态类,那么就会立即出现一个显示这个重构预览

    youdao

  • In this way, a single static class declares the entire extended authorization policy of an EAz application.

    通过这种方法单个静态可以声明EAz应用程序完整扩展授权策略

    youdao

  • You use a static class that has methods that run before and after the XmlObject changes, as shown in Listing 3.

    我们使用一个静态,其中包含在XmlObject更改之前之后运行方法清单3。

    youdao

  • Because there is no instance variable, you access the members of a static class by using the class name itself.

    由于没有执行个体变数您要使用类别名称本身存取静态类别成员

    youdao

  • It is more typical to declare a non-static class with some static members, than to declare an entire class as static.

    比起整个类别宣告静态,一些静态成员宣告非静态类别典型的方法。

    youdao

  • In our example, the identifier is stored in a static class variable so that it can be accessed from outside if necessary.

    我们范例之中标识存储静态变量之中,这样有需要就可以外边访问了。

    youdao

  • Static class methods may support a different level of thread safety than those associated with an instance of that class.

    实例方法相比静态的方法或多或少拥有更高的线程安全性

    youdao

  • You're actually building the static class model, even though you're drawing dynamic model (sequence) diagrams at the same time.

    虽然动态(时序)实际上也是创建静态模型

    youdao

  • The advantage of using a static class is that the compiler can check to make sure that no instance members are accidentally added.

    使用静态类别好处编译进行检查确定不会不小心情况加入执行个体成员

    youdao

  • With singletons implemented as single instances instead of static class members, you can initialize the singleton lazily, creating it only when it is first used.

    由于单例对象作为实例存在而不是静态成员,所以能够惰性初始例对象,即需要在第一次用时候去创建它。

    youdao

  • A static class is an Ada package that contains only static attributes and operations and this construct is supported for code generation, reverse engineering and animation.

    静态就是一个包含静态属性操作ada而且这种结构得到代码生成逆向工程的支持。

    youdao

  • If it is not a static class, you first need to declare the name of the field that will hold the reference to the parent class of the nested class before you get to the preview box.

    如果不是一个静态那么需要首先声明保存有对此嵌套引用那个字段名称,之后才能看到这个预览

    youdao

  • A link demand performed on a static class constructor does not protect the constructor because static constructors are called by the system, outside the application's code execution path.

    静态构造函数执行链接要求不会保护构造函数,因为静态构造函数系统调用的,它们并不包括应用程序代码执行路径中

    youdao

  • You can then store these Settings in static members of the class, making the value available to subsequent messages.

    然后可以这些设置保存静态成员中,以便后续的消息可以使用

    youdao

  • Various fonts are declared as static constants in this class.

    各种字体这个中声明静态常数

    youdao

  • We start with a static method (independent of the class) for setting the user's services in the cache.

    首先解释用来缓存中设置用户服务静态方法(不依赖)。

    youdao

  • AOT code must therefore be generated with every static, field, class, and method reference unresolved.

    AOT代码因此必须在没有解析每个静态字段方法引用的情况下生成

    youdao

  • In this article, you've seen some performance consequences when a class has a static constructor.

    本文中,已经看到了在具有一个静态构造函数所导致的性能结果

    youdao

  • Figure 5 presents the class diagram for the static view of the domain level.

    5展示层次静态视图关系

    youdao

  • If you want to maintain a single instance of a variable for all instances of a class, you will use static-class member variables to do it.

    如果所有实例维持一个变量实例用到静态类成员变量

    youdao

  • The second static field holds the Class of the PersonLocalHome interface.

    第二静态字段包括了PersonLocalHome接口

    youdao

  • In this article, I looked at late static binding, namespace support, class method overloading, and heredoc support.

    本文中,讨论了延迟静态绑定名称空间支持方法重载heredoc支持。

    youdao

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

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

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