XamlCompiler<TBackendEmitter, TEmitResult>.

InitCodeGen(IFileSource, Func<string, IXamlType, IXamlTypeBuilder<TBackendEmitter>>, TBackendEmitter, XamlRuntimeContext<TBackendEmitter, TEmitResult>, bool) Method

Syntax

protected abstract XamlEmitContext<TBackendEmitter, TEmitResult> InitCodeGen(IFileSource file, Func<string, IXamlType, IXamlTypeBuilder<TBackendEmitter>> createSubType, TBackendEmitter codeGen, XamlRuntimeContext<TBackendEmitter, TEmitResult> context, bool needContextLocal)

Parameters

Name Type Description
file IFileSource
createSubType Func<string, IXamlType, IXamlTypeBuilder<TBackendEmitter>>
codeGen TBackendEmitter
context XamlRuntimeContext<TBackendEmitter, TEmitResult>
needContextLocal bool

Return Value