NETSquirrel - guidelines/Namespaces structure

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Namespaces structure[edit | edit source]

There are the following namespaces to provide different functionality:

  1. DataStructures - provides non-generic data structures interfaces. Example: IStack interface.
    1. Immutable - provides non-generic immutable data structures interfaces. Example: IImmutableStack interface.
    2. Generic - provides generic data structures interfaces. Example: IStack<T> interface.
      1. Immutable - provides generic immutable data structures interfaces. Example: IImmutableStack<T> interface.
  2. Debug - provides non-generic proxy types for IDE's (such as Visual Studio and Rider) debuggers. Example: CollectionProxyType proxy type.
    1. Generic - provides generic proxy types for IDE's (such as Visual Studio and Rider) debuggers. Example: CollectionProxyType<T> proxy type.
  3. Extensions - provides several extensions for different types. Example: Print extension.
    1. ConsoleSpecific - provides console specific extensions for different types. Example: DebugPrint extension.
  4. Utils - provides several utils for different types. Example: GenerateArray util.