靜態構造函數 的英文怎麼說
中文拼音 [jìngtàigòuzàohánshǔ]
靜態構造函數
英文
static constructors- 靜 : Ⅰ形容詞1. (安定不動; 平靜) still; calm; motionless 2. (沒有聲響; 清靜) silent; quiet Ⅱ名詞(姓氏) a surname
- 態 : 名詞1. (形狀; 狀態) form; condition; appearance 2. [物理學] (物質結構的狀態或階段) state 3. [語言學] (一種語法范疇) voice
- 構 : Ⅰ動詞1 (構造; 組合) construct; form; compose 2 (結成) fabricate; make up 3 (建造; 架屋) bui...
- 造 : Ⅰ動詞1 (做; 製作) make; build; create; produce 2 (假編) cook up; fabricate; concoct 3 [書面語...
- 函 : 名詞1. [書面語] (匣; 封套) case; envelope 2. (信件) letter 3. (姓氏) a surname
- 數 : 數副詞(屢次) frequently; repeatedly
- 靜態 : [物理學] static state; quiescent condition; steady state; statics; dead level; akinesis; akynesis...
- 構造 : structure; construction; constructional detail; tectonic; structural; makeup; anatomy; constituti...
- 函數 : [數學] function函數計算機 function computer; 函數計算器 function calculator; 函數運算 functional operation
-
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
如果編程語言沒有對靜態類的內置支持,則應將靜態類聲明為密封的和抽象的,並添加一個私有實例構造函數。For an instance field, in the instance constructors of the class that contains the field declaration, or for a static field, in the static constructor of the class that contains the field declaration
對于實例欄位,在包含欄位聲明的類的實例構造函數中;或者,對于靜態欄位,在包含欄位聲明的類的靜態構造函數中。A reference type that encapsulates data constants and fields and behavior methods, properties, indexers, events, operators, instance constructors, static constructors, and destructors, and can contain nested types
一種引用類型,它封裝數據和行為,並可以包含嵌套類型,其中數據包括常數和欄位,行為包括方法、屬性、索引器、事件、運算符、實例構造函數、靜態構造函數和析構函數。Reference in a static variable or data structure is clearly a no - no, but there are more subtle ways to allow a reference to escape construction, such as publishing a reference to a nonstatic inner class, or starting a thread from within a constructor which almost invariably entails publishing the reference to the new thread
引用保存在靜態變量或數據結構中,但是有更微妙的方式允許引用逃避構造,如公布對非靜態內部類的引用,或者從構造函數中啟動一個線程(這幾乎總是公布對新線程的引用) 。Static classes and structs can also have constructors
靜態類和結構也可以有構造函數。Under the category of changes that have no managed extensions support, static constructors can now be defined out - of - line they were required to be defined inline within managed extensions, and the notion of a delegating constructor has been introduced
在不具有託管擴展支持的更改類別下,現在可外聯定義靜態構造函數(在託管擴展中要求對其進行內聯定義) ,而且引入了委託構造函數的概念。Creating a static class is therefore much the same as creating a class that contains only static members and a private constructor
因此創建靜態類與創建僅包含靜態成員和私有構造函數的類大致一樣。For instance, parameterized constructors, static methods, and constant fields are not exposed to com clients
例如,參數化的構造函數、靜態方法和常數欄位不會向com客戶端公開。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
對靜態類構造函數執行的鏈接要求不會保護該構造函數,因為靜態構造函數是由系統調用的,它們並不包括在應用程序的代碼執行路徑中。Has a static constructor and one static member,
有一個靜態構造函數和一個靜態成員Static constructors have the following properties
靜態構造函數具有以下特點:Demonstrates how to create a static constructor
演示如何創建靜態構造函數。A static constructor cannot be called directly
無法直接調用靜態構造函數。A static constructor is used to initialize any
靜態構造函數用於初始化任何A constructor can be declared static using the
關鍵字可以將構造函數聲明為靜態構造函數。Represents a static constructor for a class
表示類的靜態構造函數。Classes, including static classes, may have static constructors
類(包括靜態類)可以有靜態構造函數。There is also a chance that a static constructor could be aborted
還有一種可能就是靜態構造函數被終止。Is called, the static constructor is invoked to initialize the class
時,將調用靜態構造函數來初始化類。Introduces static constructors, constructors which can be used to initialize static data members
介紹靜態構造函數,此類構造函數可用於初始化靜態數據成員。分享友人