SemWeb.StatementSink

SemWeb : SemWeb Namespace
StatementSink Interface

A sink for statements, such as a RdfWriter or a Store.

public interface StatementSink

#### Remarks

Inherit from the class to create an object that can receive streaming statements from a call to SemWeb.Store.Select(SemWeb.Statement,SemWeb.StatementSink).

## Members

### Methods

| Add (Statement) : bool Called to stream a new statement.

## Member Details

### Add Method

public bool Add (Statement statement)

Called to stream a new statement.

#### Parameters

statement
  A statement.

#### Returns

Return `false` to signal the caller to discontinue streaming. Otherwise, return `true`.

#### Remarks

None.