fill

Given a structure and a provider this will discover all the required fields and then fill those fields with values provided by the provider.

The root name will prefix all names as <rootName>.

  1. void fill(T structType, Provider p, string rootName)
    void
    fill
    (
    T
    )
    (,,
    string rootName
    )
  2. void fill(T structType, Provider p)

Parameters

structType T

the structure

p Provider

the provider

rootName string

name of the root

Meta