Diffusion .NET Client Library
6.1.5
|
The immutable value representing a list of records. More...
Public Member Functions | |
IRecordV2Delta | Diff (IRecordV2 original) |
Compares this value with an earlier version to calculate a structural delta. More... | |
IRecordModel | AsModel (ISchema schema) |
Parses the value into a model based upon a specified schema. More... | |
IRecordModel | AsValidatedModel (ISchema schema) |
Parses the value into a model based upon a specified schema. More... | |
List< List< string > > | AsRecords () |
Returns the data value as a list of lists of strings. More... | |
List< string > | AsFields () |
Returns the data value as a list of fields. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Data.IBytes | |
Stream | AsInputStream () |
Returns the data as a read-only stream. More... | |
byte[] | ToByteArray () |
Returns a copy of the data as a byte array. More... | |
void | CopyTo (Stream outputStream) |
Writes the data to an output stream. More... | |
Additional Inherited Members | |
Properties inherited from PushTechnology.ClientInterface.Data.IBytes | |
int | Length [get] |
Returns the length of the data in bytes. More... | |
The immutable value representing a list of records.
Implemented in Version 6.0.
List<string> PushTechnology.ClientInterface.Data.Record.IRecordV2.AsFields | ( | ) |
Returns the data value as a list of fields.
This disregards record boundaries. If there is more than one record, they are concatenated to produce a list of all of the fields.
This method would normally only be used when it is known that there is only one record.
IRecordModel PushTechnology.ClientInterface.Data.Record.IRecordV2.AsModel | ( | ISchema | schema | ) |
Parses the value into a model based upon a specified schema.
This assumes that data is compatible with the schema and does not do any validation. There is no need to validate the data if this has been done on entry or at the server. However, if the data is invalid then issues may occur when attempting to access it.
If it is not certain that the data is valid then the AsValidatedModel(ISchema) method may be used instead.
schema | The schema to use for parsing the data |
List<List<string> > PushTechnology.ClientInterface.Data.Record.IRecordV2.AsRecords | ( | ) |
Returns the data value as a list of lists of strings.
IRecordModel PushTechnology.ClientInterface.Data.Record.IRecordV2.AsValidatedModel | ( | ISchema | schema | ) |
Parses the value into a model based upon a specified schema.
schema | The schema to use for parsing the data. |
IRecordV2Delta PushTechnology.ClientInterface.Data.Record.IRecordV2.Diff | ( | IRecordV2 | original | ) |
Compares this value with an earlier version to calculate a structural delta.
original | The original value to compare with this value. |