Wiki

Member Declarations

Members are the items or clauses within a type-like declaration (classes, structures, interfaces, mixins, Type extensions...).

They define both the internal state and implementation and external appearance, content, behaviours, actions and responses defining each of the above items.

Currently these include

  • initializers - define the starting state/content
  • methods - define the actions the above provide
  • properties - provide (mediated) access to state items the objects provide or expose
  • indexers - enable objects to be indexed similar to arrays
  • events - provide notifications the objects publish
  • contracts - state specification and run-time validity assertions that are part of the public interface of the above items

Back to LanguageTopics.