![]() | CodePrinter Methods |
The CodePrinter type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AppendMethod | |
![]() ![]() | AppendTypeOf | |
![]() ![]() | AppendTypeOfList | |
![]() ![]() | CountLambdas | Helper method to find the number of lambdas in the C# `code` string |
![]() ![]() | ToArrayInitializerCode | Prints many code items as array initializer. |
![]() ![]() | ToCode(Boolean) | Prints valid C# Boolean |
![]() ![]() | ToCode(String) | Prints valid C# String escaping the things |
![]() ![]() | ToCode(Object, CodePrinterObjectToCode, Boolean, FuncType, String, String) |
Prints a valid C# for known x,
otherwise uses passed notRecognizedToCode or falls back to `ToString()`.
|
![]() ![]() | ToCode(Type, Boolean, FuncType, String, String, Boolean) | Converts the type into the proper C# representation. |
![]() ![]() | ToCommaSeparatedCode | Prints many code items as the array initializer. |
![]() ![]() | ToEnumValueCode | Prints valid C# Enum literal |