Jump to the main content

3. Advanced Compilation Class API Cheat Sheet


Class NameFunctionNamespacesOperation Type
NAssemblyQuickly create classes, delegates, and other operations in the same assemblyGlobalStatic initialization, dynamic instantiation
NInstanceProvides a delegate to initialize an instance based on its typeGlobalStatic
NDelegateQuickly create Action/Func delegates for a specified domainGlobalStatic initialization, dynamic instantiation
NClassQuickly create a public classGlobalStatic initialization, dynamic instantiation
NInterfaceQuickly create a public interfaceGlobalStatic initialization, dynamic instantiation
NEnumQuickly create an enumeration classGlobalStatic initialization, dynamic instantiation
NRecordQuickly create a record classGlobalStatic initialization, dynamic instantiation
NStructQuickly create a structureGlobalStatic initialization, dynamic instantiation
FakeMethodOperatorCreate methods by simulating the MethodInfoNatasha.CSharpStatic initialization, dynamic instantiation
FastMethodOperatorQuickly create methodsNatasha.CSharpStatic initialization, dynamic instantiation