Akka.Interfaced.NotificationHandlerBuilder.GetInterfacePayloadTypeTable C# (CSharp) Метод

GetInterfacePayloadTypeTable() приватный статический Метод

private static GetInterfacePayloadTypeTable ( Type interfaceType ) : System.Type[]
interfaceType System.Type
Результат 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;
        }
    }