CSharpProcedural.

AppendInterfaceMethodCall(StringBuilder, Type, Type, string, string) Method

Summary

Appends a call to the specified `methodName`. If the method is non-public, the object is casted to the `interfaceType` to call an explicitly implemented method.

Syntax

public static void AppendInterfaceMethodCall(StringBuilder text, Type objectType, Type interfaceType, string methodName, string objectName)

Parameters

Name Type Description
text StringBuilder
objectType Type
interfaceType Type
methodName string
objectName string

Return Value

Type Description
void