friend assembly 中文意思是什麼
friend assembly
解釋
友元程序集-
Using a friend assembly, the shared types are declared as internal
使用友元程序集時,共享類型聲明為私有類型。 -
Applies to an individual type, while a friend assembly applies to the whole assembly
應用於單個類型,而友元程序集應用於整個程序集。 -
Class with the name of the specified friend assembly
用指定的友元程序集的名稱初始化 -
The name of a friend assembly to which all nonpublic types are to be made visible
友元程序集的名稱,所有非公共類型都將對該程序集可見。 -
While using a friend assembly, you only need to declare the friend relationship once
修飾所有這些類型;而使用友元程序集時只需聲明一次友元關系。 -
The out compiler option is required in order for an exe to be the target of a friend assembly
為使exe成為友元程序集的目標,需要/ out編譯器選項。 -
In this example, the assembly makes internal types and internal members visible to the assembly called cs friend assemblies 2
在此示例中,程序集使內部類型和內部成員對名為called cs _ friend _ assemblies _ 2的程序集可見。
分享友人