Click or drag to resize

CodePrinterObjectToCode Delegate

Custom handler for output the object in valid C#. Note, the `printGenericTypeArgs` is excluded because it cannot be a open-generic object. This handler is also used to allow user to fully control a Constant expression output

Namespace:  SphinxConnector.FluentApi.Helpers
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.2.0
Syntax
public delegate string ObjectToCode(
	Object x,
	bool stripNamespace = false,
	Func<Type, string, string> printType = null
)

Parameters

x
Type: SystemObject
stripNamespace (Optional)
Type: SystemBoolean
printType (Optional)
Type: SystemFuncType, String, String

Return Value

Type: String
See Also