def METHOD_NAME(self, DepexContent, KeyList=None, CommentList=None):
    for KeyItem in KeyList:
        Arch = KeyItem[0]
        ModuleType = KeyItem[1]
        InfDepexItemIns = InfDepexItem()
        #
        # Validate Arch
        #
        if IsValidArch(Arch.strip().upper()):
            InfDepexItemIns.SetSupArch(Arch)
        else:
            Logger.Error("InfParser",
                         ToolError.FORMAT_INVALID,
                         ST.ERR_INF_PARSER_DEFINE_NAME_INVALID % (Arch),
                         File=GlobalData.gINF_MODULE_NAME,
                         Line=KeyItem[2])
        #
        # Validate Module Type
        #
        if ModuleType and ModuleType != 'COMMON':
            if ModuleType in DT.VALID_DEPEX_MODULE_TYPE_LIST:
                InfDepexItemIns.SetModuleType(ModuleType)
            else:
                Logger.Error("InfParser",
                             ToolError.FORMAT_INVALID,
                             ST.ERR_INF_PARSER_DEPEX_SECTION_MODULE_TYPE_ERROR % (ModuleType),
                             File=GlobalData.gINF_MODULE_NAME,
                             Line=KeyItem[2])
        #
        # Parser content in [Depex] section.
        #
        DepexString = ''
        HelpString = ''
        #
        # Get Depex Expression
        #
        for Line in DepexContent:
            LineContent = Line[0].strip()
            if LineContent.find(DT.TAB_COMMENT_SPLIT) > -1:
                LineContent = LineContent[:LineContent.find(DT.TAB_COMMENT_SPLIT)]
            if LineContent:
                DepexString = DepexString + LineContent + DT.END_OF_LINE
            continue
        if DepexString.endswith(DT.END_OF_LINE):
            DepexString = DepexString[:-1]
        if not DepexString.strip():
            continue
        #
        # Get Help Text
        #
        for HelpLine in CommentList:
            HelpString = HelpString + HelpLine + DT.END_OF_LINE
        if HelpString.endswith(DT.END_OF_LINE):
            HelpString = HelpString[:-1]
        InfDepexItemIns.SetDepexConent(DepexString)
        InfDepexItemIns.SetHelpString(HelpString)
        self.Depex.append(InfDepexItemIns)
    return True