AddChild() public method

public AddChild ( CodeInspectionQuickFix quickFix ) : void
quickFix CodeInspectionQuickFix
return void
 public FunctionReturnValueNotUsedInspectionResult(
     IInspection inspection,
     ParserRuleContext context,
     QualifiedMemberName qualifiedName,
     IEnumerable<string> returnStatements,
     IEnumerable<Tuple<ParserRuleContext, QualifiedSelection, IEnumerable<string>>> children,
     Declaration target)
     : base(inspection, qualifiedName.QualifiedModuleName, context, target)
 {
     var root = new ConvertToProcedureQuickFix(context, QualifiedSelection, returnStatements);
     var compositeFix = new CompositeCodeInspectionFix(root);
     children.ToList().ForEach(child => compositeFix.AddChild(new ConvertToProcedureQuickFix(child.Item1, child.Item2, child.Item3)));
     _quickFixes = new[]
     {
         compositeFix
     };
 }
        public FunctionReturnValueNotUsedInspectionResult(
            IInspection inspection,
            ParserRuleContext context,
            QualifiedMemberName qualifiedName,
            IEnumerable <string> returnStatements,
            IEnumerable <Tuple <ParserRuleContext, QualifiedSelection, IEnumerable <string> > > children,
            Declaration target)
            : base(inspection, qualifiedName.QualifiedModuleName, context, target)
        {
            var root         = new ConvertToProcedureQuickFix(context, QualifiedSelection, returnStatements);
            var compositeFix = new CompositeCodeInspectionFix(root);

            children.ToList().ForEach(child => compositeFix.AddChild(new ConvertToProcedureQuickFix(child.Item1, child.Item2, child.Item3)));
            _quickFixes = new[]
            {
                compositeFix
            };
        }