namespace

[美國]/ˈneɪmˌspeɪs/
[英國]/ˈneɪmˌspeɪs/

中文釋義

n.用於編程或計算中組織對象或元素以避免衝突的一組名稱

短語搭配

namespace conflict

命名空間衝突

define namespace

定義命名空間

using namespace

使用命名空間

namespace declaration

命名空間聲明

global namespace

全局命名空間

nested namespaces

嵌套命名空間

namespace resolution

命名空間解析

namespace scope

命名空間作用域

avoid namespaces

避免命名空間

namespace import

命名空間導入

例句

we defined a new namespace to avoid naming conflicts in the project.

我們在項目中定義了一個新的命名空間以避免命名衝突。

the xml namespace declaration specifies the vocabulary being used.

XML 命名空間聲明指定所使用的詞彙表。

each class belongs to a specific namespace for organization.

每個類都屬於特定的命名空間以進行組織。

using namespaces promotes code reusability and modularity.

使用命名空間可以促進代碼的可重用性和模塊化。

the namespace contains several related classes and functions.

命名空間包含幾個相關的類和函數。

we need to import the namespace to access its members.

我們需要導入命名空間才能訪問其成員。

the default namespace is often omitted in xml documents.

默認命名空間通常在 XML 文檔中省略。

qualify the class name with the namespace to avoid ambiguity.

使用命名空間的類名來避免歧義。

the namespace provides a logical grouping of related code.

命名空間提供了一個相關的代碼邏輯分組。

check the namespace documentation for available classes.

查看命名空間文檔以瞭解可用的類。

avoid using the global namespace to prevent collisions.

避免使用全局命名空間以防止衝突。

the namespace prefix maps to a uri identifying the vocabulary.

命名空間前綴映射到標識詞彙表的 URI。

下載 App 以解鎖完整內容

想更有效率地學習單字嗎?下載 DictoGo 應用程式,享受更多單字記憶與複習功能!

立即下載 DictoGo