Recently, I am busy with the implementation of the print function on Silverlight, usingReport Definition Language(RDL)(SQL Server is defined based on reports ). Generally, a data format in a project needs to be converted to a common data format, which generates various types of documents (such as PDF and BMP ).
When defining the control class of the frameworkInternalThe access modifier has a deep understanding and usage, which is summarized as follows for your reference:
1.InternalA keyword is an access modifier for type and type members. Internal members are only in the sameProgramCentralized files are accessible. For more information about the Assembly, see components and assembly.
2. Internal access is usually usedComponent-basedBecause it enables a group of parts to cooperate in private mode, without havingCode.
For example, a framework used to generate a graphical user interface can provide "controls" and "forms" classes. These classes work together by using members with internal access capabilities. Since these members are internal, they are not made public to the code that is using the framework.
It is wrong to reference a member outside the Assembly that defines members with internal access capabilities.
WarningAlthough it cannot be rewritten using C #Internal VirtualMethod, but it can be rewritten in some languages (such as using the text Microsoft intermediate language (msil) of ilasm.exe.RelatedInternalFor more information, seeAccessibility level.
To be continued...