Table of Contents

Method SetListener

Namespace
SodaFlow
Assembly
SodaFlow.dll

SetListener(MutableListener, IListener)

Points the mutable listener at listener, and stops the listener that it pointed at before.

public static void SetListener(this MutableListener m, IListener listener)

Parameters

m MutableListener

The mutable listener.

listener IListener

The listener to become the target.

Remarks

Ownership passes to m: unlistening it unlistens listener too, as does the next call to this method or to ClearListener(MutableListener).