コード例 #1
0
        public override StepInput[] GetInputs(IOrchestrationComponent component)
        {
            StepInput arrayToMerge = VVDTUtility.ConvertArrayBuilderDataType(((BuildTextFromElements)component).Values);

            return(new StepInput[1] {
                arrayToMerge
            });
        }
コード例 #2
0
        public override StepInput[] GetInputs(IOrchestrationComponent component)
        {
            StepInput fromAddy = VVDTUtility.ConvertVariableOrValueDataTypeToInputMapping(((SendEmailComponent)component).FromAddress, "From");

            StepInput toAddresses = VVDTUtility.ConvertArrayBuilderDataType(((SendEmailComponent)component).ToAddresses);

            toAddresses.Name = "To";

            StepInput subject = VVDTUtility.ConvertAsciiMergeDataTypeToInputMapping(((SendEmailComponent)component).Subject, "Subject");

            StepInput body = VVDTUtility.ConvertHTMLMergeDataTypeToInputMapping(((SendEmailComponent)component).HtmlContent, "Body");

            return(new StepInput[4] {
                fromAddy,
                toAddresses,
                subject,
                body
            });
        }