Akka.Interfaced.RequestHandlerBuilder.GetInterfacePayloadTypeTable C# (CSharp) Method

GetInterfacePayloadTypeTable() private static method

private static GetInterfacePayloadTypeTable ( Type interfaceType ) : ].Type[
interfaceType System.Type
return ].Type[
        private static Type[,] GetInterfacePayloadTypeTable(Type interfaceType)
        {
            var payloadTypes = (Type[,])HandlerBuilderHelpers.GetInterfacePayloadTypeTable(interfaceType, PayloadTableKind.Request);
            if (payloadTypes == null || payloadTypes.GetLength(0) != interfaceType.GetMethods().Length)
            {
                throw new InvalidOperationException(
                    $"Mismatched a payload table for {interfaceType.FullName}");
            }

            return payloadTypes;
        }
    }