ModelObjectItemWizard.RunStarted Method (Object, Dictionary<String, String>, WizardRunKind, Object[])

 

This method is called at the beginning of a template wizard run This lets us run custom wizard logic before anything is created and is a good place, for example, to collect user input that will alter the run in some way

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.ModelWizard
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

[SuppressMessageAttribute("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
[SuppressMessageAttribute("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
public void RunStarted(
	object automationObject,
	Dictionary<string, string> replacementsDictionary,
	WizardRunKind runKind,
	object[] customParams
)

Parameters

automationObject
Type: System.Object

This API supports the Entity Framework infrastructure and is not intended to be used directly from your code.

replacementsDictionary
Type: System.Collections.Generic.Dictionary<String, String>

This API supports the Entity Framework infrastructure and is not intended to be used directly from your code.

runKind
Type: Microsoft.VisualStudio.TemplateWizard.WizardRunKind

This API supports the Entity Framework infrastructure and is not intended to be used directly from your code.

customParams
Type: System.Object[]

This API supports the Entity Framework infrastructure and is not intended to be used directly from your code.