Method Generate
Generate(AvroSchema, int, AvroRandomDataOptions?)
Generates values of a schema, without end; take as many as needed.
public static IEnumerable<AvroValue> Generate(AvroSchema schema, int seed, AvroRandomDataOptions? options = null)
Parameters
schemaAvroSchemaThe schema.
seedintThe seed: the same seed gives the same values.
optionsAvroRandomDataOptions
Returns
Exceptions
- AvroException
The schema has no finite value.