- 1、本文档共240页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
.NET Framework Design Guidelines pudn(。)
.NET Framework Design Guidelines
Desiging Class Libraries for the .NET Framework
Public version of the document can be found at /team/libraries/.
Overview
Moving to a managed execution environment offers an opportunity to improve the programming model. The goal of this document is to encourage consistency and predictability in the publicly exposed APIs while enabling integration with multiple languages and application models.
Document Info
Owner KCwalina Last Saved 7/11/2005 File designguidelines.doc Primary Reviewers urtlib; External reviewers netprof; lapilead UE GlennHa Contributors
The following people substantially contributed to the document: Brad Abrams, Chris Anderson, Erik Christensen, Jason Clark, Krzysztof Cwalina, Patrick Dussud, Anders Hejlsberg, Jim Miller, Michael Murray, Lance Olson, Chi-Yan Tong, Eric Gunnerson, Dare Obasanjo, Ahmed Abou-Taleb, Steve Starck.
Table of Contents
1 Introduction 7
1.1 Goals 8
1.2 How to Read the Document 9
1.2.1 Document Styles 9
1.2.2 FxCop Rules Coverage 10
2 Library Design Fundamentals 10
2.1 Targeting the Breadth of Developers 10
2.1.1 Architecture 11
2.2 Exposing Functionality to COM [TO be removed when new section added] 13
3 Naming Guidelines 13
3.1 Capitalization Conventions 14
3.1.1 Capitalization Rules for Identifiers 14
3.1.2 Capitalizing Acronyms 16
3.1.3 Capitalizing Compound Words and Common Terms 18
3.1.4 Case Sensitivity 19
3.2 General Naming Conventions 20
3.2.1 Word Choice 20
3.2.2 Using Abbreviations and Acronyms 22
3.2.3 Avoiding Language-specific Names 22
3.3 Names of Assemblies and DLLs 24
3.4 Names of Namespaces 25
3.4.1 Standard Sub-Namespace Names 26
3.4.2 Namespaces and Type Name Conflicts 28
3.4.3 WinFx Namespace Plan (MS Internal) 29
3.5 Names of Classes, Value Types, and Interfaces 33
3.5.1 Names of Generic Type Parameters 35
3.5.2 Names of Common Types 36
3.5.3 Naming Enumerations 38
3.6 Names of Type Members 39
3.6.1 Names of Methods 39
3.6.2 Names of Properties 39
3.6.3 Names of Ev
您可能关注的文档
- 1994 Kluwer Academic Publishers, Boston. (1994年Kluwer学术出版商,波士顿。).pdf
- 2012 Pearson Education, Inc. Texas A&M (2012年皮尔森教育公司,德州农工大学).pdf
- 2011 Dichtungstechnik G.Bruss GmbH Co ...(2011年Dichtungstechnik G。).pdf
- Advisory Circular Federal Aviation (咨询通告联邦航空).pdf
- C 112 englisch Amphenol(C 112 englisch安费诺).pdf
- Digital Lesson(数字的教训).pdf
- '1 Radford University(' 1雷德福大学).pdf
- 'C' Series Geartek(u201CCu201D系列Geartek).pdf
- 'Closed Reduction and Internal Fixation of (的闭合复位内固定术).pdf
- 'Interest rate spread determination in an error (利率决定传播的一个错误).pdf
文档评论(0)