经典MEF实现varbank=newDirectoryCatalog("Banks");using(varcon=newCompositionContainer(bank)){con.ComposeParts(bank);varmethods=bank.GetType().GetMethods();foreach(variteminmethods){Co