Class & Method Declaration Standards:
Describes the role of the common type system and the Common Language Specification in class library development. Describes the guidelines for naming types in class libraries. Describes the guidelines for using properties, events, methods, constructors, fields, and parameters in class libraries. Describes the guidelines for using classes, value types, delegates, attributes, and nested types in class libraries. Describes the guidelines for exposing class library types to COM. Describes the guidelines for raising and handling errors in class libraries. Describes the guidelines for using arrays in class libraries and how to decide whether to use an array vs. a collection. Describes the guidelines for implementing operator overloading in base class libraries. Describes the guidelines for implementing the Equals method and the equality operator (==) in class libraries. Describes the guidelines for casting types in class libraries. Describes how to implement design patterns for Finalize and Dispose methods, the Equals method, callback functions, and time-outs. Describes the precautions to take when writing highly trusted class library code, and how to help protect resources with permissions. Describes the guidelines for implementing threading in class libraries. Describes the guidelines for implementing asynchronous programming in class libraries and provides an asynchronous design pattern. |
Comments
Post a Comment