Esempio n. 1
0
        /// <inheritdoc />
        protected override string MakeEventCommandMainSentenceInner(
            EventCommandSentenceResolver resolver, EventCommandSentenceType type,
            EventCommandSentenceResolveDesc desc, string argsCommandString,
            string returnVarString)
        {
            if (desc is null)
            {
                throw new ArgumentNullException(
                          ErrorMessage.NotNull(nameof(desc)));
            }

            return(EventId.IsVariableAddressSimpleCheck()
                ? MakeEventCommandMainSentenceCallByVariableAddress(resolver, type, desc)
                : MakeEventCommandMainSentenceCallById(resolver, type, desc));
        }