Mock Magic API Reference
This reference is generated from the shipped Mock Magic assemblies and their XML documentation.
MockMagic
Section titled “MockMagic”- ExportFormat: Export formats for mock data.
- LabelPreset: Preset label collections for series data.
- Mock: Provides static generators for mock values, formatted strings, token templates, themed text, and image placeholders.
- Mock.Datasets: Friendly dataset aliases to aid discovery (e.g. Mock.Datasets.Person() ).
- MockDataPoint: Represents a single data point with a label and value.
- MockExport: Static class for exporting mock data to various formats.
- MockExtensions: Convenience helpers that let generated values become null /default with a tunable probability, plus small IList/IReadOnlyList helpers ( PickRandom…
- MockLocale: Immutable locale identity with lazily initialized, attributed generation data.
- MockLocaleCoverage: Data support and fallback origin for one generator in a locale.
- MockLocaleDefinition: Project authoring definition. Register takes a frozen copy; later edits do not affect captured profiles.
- MockLocaleLocation: A coherent project-supplied city, region and postal-code tuple.
- MockLocales: Built-in locale profiles and project-defined profiles. IDs and aliases are case insensitive.
- MockOf<T>: Delegate-based fluent object builder with no reflection or expression trees — safe for Unity’s IL2CPP/AOT backend.
- MockPerson: Internally consistent person. Email and username are derived from the drawn name, MockPerson.DateOfBirth gives exactly MockPerson.Age on the…
- MockRandom: Seedable random facade that all MockMagic generators route through. Wraps a Random so results are reproducible across runs, AOT/IL2CPP platforms and…
- MockSeries: Static class for generating series data with various patterns.
- MockSeriesCursor: Continues a series pattern across successive requests, so live streams follow the pattern over time instead of restarting it with every emission.
- MockStream: Continuous mock data streaming to registered listeners. Works in both Play Mode (via coroutines) and Edit Mode (via editor updates).
- MockStreaming: Static convenience class for accessing MockStream without direct instance management.
- MockStreamTiming: Timing rules of the stream rhythms, shared by MockStream and other tools’ mock streams so a rhythm means the same everywhere.
- SeriesPattern: Patterns for generating series data.
- SimpleDataType: Types of simple data that can be generated.
- StreamRhythm: Rhythm modes for continuous data streaming.