Tutorial

Examples

SIOC comes with the following examples:

  • Simple Object: Using the framework as the factory pattern.

  • Simple Property: Creating an object and setting a property value.

  • Object Property: Creating an object and setting a property to another object.

  • Property Collection: Creating an object and setting a collection on the object.

  • Object Attributes: Examples of the attributes that can be applied to an object.

  • Events: Examples of wiring up both synchronous and asynchronous events.

The user guide provides detailed information about using SIOC within an application. The following example shows SIOC creating an object and setting a property before returning the object to the application.

Online tutorial.