Closed GoogleCodeExporter closed 8 years ago
Hi Josh
Sorry you had problems with the contact form.
You can do this by inheriting from SequentialPropertyNamer and overriding the
method
HandleUnknownType().
Then you must set your new property namer using
BuilderSetup.SetDefaultPropertyNamer(myPropertyNamer) or
BuilderSetup.SetPropertyNamerFor<Product>(myTypeSpecificPropertyNamer)
You can see an example of this if you download or browse the source code and
look in
the functional tests project under 'Extensibility/ExtensibilityTests.cs'
I have plans for a better way of doing this which is going to be similar to the
way
the 'ExtensibleRandomValuePropertyNamer' works, which was contributed by Tim
Scott
but for the time being, hopefully this information will help you out.
Let me know if any probs or I haven't answered your question properly.
Gareth
Original comment by garethdo...@googlemail.com
on 12 Jan 2010 at 11:55
Original issue reported on code.google.com by
joshuajr...@gmail.com
on 5 Jan 2010 at 10:21