Member Design Guidelines
Methods, properties, events, constructors, and fields are collectively referred to as members. Members are ultimately the means by which framework functionality is exposed to the end users of a framework.
Members can be virtual or non-virtual, concrete or abstract, static or instance, and can have several different scopes of accessibility. All this variety provides incredible expressiveness but at the same time requires care on the part of the framework designer.
This chapter offers basic guidelines that should be followed when designing members of any type.
In This Section
- Member Overloading
- Property Design
- Constructor Design
- Event Design
- Field Design
- Operator Overloads
- Parameter Design