Skip to content

Release Notes 0.14

BSick7 edited this page Jan 23, 2015 · 1 revision

The core runtime API has moved into nullstone. This includes type management, type annotations, IEnumerable, IEnumerator, Uri, and Event.

Type Management

  • Created better system for managing libraries and types. See ITypeManager.

  • Fayde.RegisterTypeInterfaces --> nullstone.addTypeInterfaces

  • There are 3 ways to declare XAML namespaces.

    • Directory - xmlns:controls="Controls"
      • Uses the directory to resolve using the tag name.
      • controls:Sketch resolves to Controls/Sketch.js
    • Basic - xmlns:controls="lib://fayde.controls"
      • Resolves the fayde.controls library using fayde.json.
    • Full - xmlns:controls="http://schemas.wsick.com/fayde/controls"
      • Resolves in same way as Basic except the library has manually registered exposed types.
      • See Full Library on how to create a Full library.

Enumerable

  • Added interface declarations for IEnumerable and IEnumerator that also provide helpers.

Event

  • MulticastEvent<T extends EventArgs> becomes nullstone.Event<T extends nullstone.IEventArgs>. This allows powerful creation of event args.

  • As a result of the Event migration, the following methods have changed

    • Subscribe --> on
    • Unsubscribe --> off
    • Raise --> raise
    • RaiseAsync --> raiseAsync