Suoranta.EnterpriseLib.Web - Developer API

PersonGenerator<(Of <(<'TPerson>)>)> Constructor (Expression<(Of <(<'Func<(Of <(<'TPerson, String>)>)>>)>)>, Expression<(Of <(<'Func<(Of <(<'TPerson, String>)>)>>)>)>, Expression<(Of <(<'Func<(Of <(<'TPerson, DateTime>)>)>>)>)>, Expression<(Of <(<'Func<(Of <(<'TPerson, Sex>)>)>>)>)>, Expression<(Of <(<'Func<(Of <(<'TPerson, String>)>)>>)>)>, NameGenerator, HetuGenerator)

Namespace:  Suoranta.EnterpriseLib.Util.MockData
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


public PersonGenerator(
	Expression<Func<TPerson, string>> firstNameSelector,
	Expression<Func<TPerson, string>> lastNameSelector,
	Expression<Func<TPerson, DateTime>> dateOfBirthSelector,
	Expression<Func<TPerson, Sex>> sexSelector,
	Expression<Func<TPerson, string>> hetuSelector,
	NameGenerator nameGenerator,
	HetuGenerator hetuGenerator
)

Parameters

firstNameSelector
Type: Expression<(Of <(<'Func<(Of <(<'TPerson, String>)>)>>)>)>
lastNameSelector
Type: Expression<(Of <(<'Func<(Of <(<'TPerson, String>)>)>>)>)>
dateOfBirthSelector
Type: Expression<(Of <(<'Func<(Of <(<'TPerson, DateTime>)>)>>)>)>
sexSelector
Type: Expression<(Of <(<'Func<(Of <(<'TPerson, Sex>)>)>>)>)>
hetuSelector
Type: Expression<(Of <(<'Func<(Of <(<'TPerson, String>)>)>>)>)>
nameGenerator
Type: Suoranta.EnterpriseLib.Util.MockData..::..NameGenerator
hetuGenerator
Type: Suoranta.EnterpriseLib.Util.MockData..::..HetuGenerator