Table of Contents

Class CodeGeneratorUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides static methods related to dynamic assembly generation.

public static class CodeGeneratorUtils
Inheritance
CodeGeneratorUtils

Methods

EmitApplicationLog(ILGenerator, string)

Emits Log(object?, LogItemKind) with value parameter.

EmitStringMethod(ILGenerator, MethodInfo, string)

Emits method call with value parameter.

GetEventLogDelegate(EventInfo)

Gets event logging delegate.

GetModuleBuilder()

Gets ModuleBuilder for dynamic assembly generation.

Log(string)

Logs string.

LogEvent(string, string)

Logs event if it is allowed to log it. Used internally by the event logger.