Partager via


DslDirectiveProcessor.GetPostInitializationCodeForProcessingRun Method

Override GetPostInitializationCodeForProcessingRun to surround all file loads with a top-level transaction. We do this so that the moniker cache does not get flushed after each file is loaded, so that cross-model monikers can be resolved by loading both models in T4 using directives.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
Public Overrides Function GetPostInitializationCodeForProcessingRun As String
public override string GetPostInitializationCodeForProcessingRun()
public:
virtual String^ GetPostInitializationCodeForProcessingRun() override
abstract GetPostInitializationCodeForProcessingRun : unit -> string 
override GetPostInitializationCodeForProcessingRun : unit -> string 
public override function GetPostInitializationCodeForProcessingRun() : String

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

DslDirectiveProcessor Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace