XamlILCompiler.

InitCodeGen(IFileSource, Func<string, IXamlType, IXamlTypeBuilder<IXamlILEmitter>>, IXamlILEmitter, XamlRuntimeContext<IXamlILEmitter, XamlILNodeEmitResult>, bool) Method

Namespace
XamlX.IL
Containing Type
XamlILCompiler

Syntax

protected override XamlEmitContext<IXamlILEmitter, XamlILNodeEmitResult> InitCodeGen(IFileSource file, Func<string, IXamlType, IXamlTypeBuilder<IXamlILEmitter>> createSubType, IXamlILEmitter codeGen, XamlRuntimeContext<IXamlILEmitter, XamlILNodeEmitResult> context, bool needContextLocal)

Parameters

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

Return Value