![]() | CodePrinter Class |
[Missing <summary> documentation for "T:SphinxConnector.FluentApi.Helpers.CodePrinter"]
Namespace: SphinxConnector.FluentApi.Helpers
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 |
Name | Description | |
---|---|---|
![]() ![]() | DefaultNotRecognizedToCode | Outputs the `default(Type)` for the unknown constant with the comment message |
![]() ![]() | PrintTypeStripOuterClasses |