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

GetInterfacePayloadTypeTable() private static method

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

            return payloadTypes;
        }
    }