Table of Contents

Interface IRecordV2Builder

Namespace
PushTechnology.ClientInterface.Data.Record
Assembly
Diffusion.Client.dll

Builder for free format IRecordV2 values.

public interface IRecordV2Builder

Remarks

This type of builder may be used to generate free format IRecordV2 format data which is not constrained by a ISchema.

Such a builder can be created using CreateValueBuilder().

Implemented in Version 6.0.

Methods

AddFields(IReadOnlyList<string>)

Adds one or more field values.

IRecordV2Builder AddFields(IReadOnlyList<string> values)

Parameters

values IReadOnlyList<string>

The immutable list of field values.

Returns

IRecordV2Builder

The current builder instance.

Remarks

If there is a current record, this adds the fields to the end of the current record.

AddFields(params string[])

Adds one or more field values.

IRecordV2Builder AddFields(params string[] values)

Parameters

values string[]

The field values.

Returns

IRecordV2Builder

The current builder instance.

Remarks

If there is a current record, this adds the fields to the end of the current record.

AddRecord(IReadOnlyList<string>)

Adds a new record comprising the specified field values.

IRecordV2Builder AddRecord(IReadOnlyList<string> fields)

Parameters

fields IReadOnlyList<string>

The immutable list of fields within the new record. If no fields are supplied, an empty record will be added.

Returns

IRecordV2Builder

The current builder instance.

AddRecord(params string[])

Adds a new record comprising the specified field values.

IRecordV2Builder AddRecord(params string[] fields)

Parameters

fields string[]

The fields within the new record. If no fields are supplied, an empty record will be added.

Returns

IRecordV2Builder

The current builder instance.

Build()

Builds a IRecordV2 object from the current builder state.

IRecordV2 Build()

Returns

IRecordV2

The new IRecordV2 object.

Clear()

Clears all current values from the builder allowing it to be reused to generate new data.

IRecordV2Builder Clear()

Returns

IRecordV2Builder

The current builder instance.