Header menu logo FSharp.Data.Adaptive

IWeakOutputSet Type

Represents a set of outputs for an AdaptiveObject. The references to all contained elements are weak and the datastructure allows to add/remove entries. the only other functionality is Consume which returns all the (currently alive) entries and clears the set.

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
Returns: bool
Modifiers: abstract

Adds a weak reference to the given AdaptiveObject to the set And returns a boolean indicating whether the obj was new.

arg0 : IAdaptiveObject
Returns: bool

this.Clear

Full Usage: this.Clear

Modifiers: abstract

Clears the set.

this.Consume

Full Usage: this.Consume

Parameters:
Returns: int
Modifiers: abstract

Returns all currenty living entries from the set And clears its content.

arg0 : IAdaptiveObject[] ref
Returns: int

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Modifiers: abstract

Indicates whether the set is (conservatively) known to be empty.

Returns: bool

this.Remove

Full Usage: this.Remove

Parameters:
Returns: bool
Modifiers: abstract

Removes the reference to the given AdaptiveObject from the set And returns a boolean indicating whether the obj was removed.

arg0 : IAdaptiveObject
Returns: bool

Type something to start searching.