毕业设计(论文)外文文献.doc毕业设计(论文)外文文献原文及译文原文:DelegateDelegatesenablescenariosthatotherlanguages一suchasC++,Pascal,++functionpointers,however,delegatesarefullyobjectoriented,andunlikeC++pointerstomemberfunctions,delegatesencapsulatebothanobjectinstanceandamethod・・Adelegateinstanceencapsulatesaninvocationlist,whichisalistofoneormoremethods,,,acallableentityconsistsofjustamethod・Invokingadelegateinstancewithanappropriatesetofargumentscauseseachofthedelegate';patiblewiththedelegate'stype•Thismakesdelegatesperfectlysuitedfor"anonymous^invocation・DelegatedeclarationsAdele^ate'declarationisatype-declarationthatdeclaresanewdelegatetype・delegate-declaration:attributes^delegate-modifiersopldelegatereturn-typeidentifiervariant-type-parameter-listopt( formal-parameter-listopJ)type-pcirameter-constrciints-clauses(){)t;delegate-modifiers:delegate-modifierdelegate-modifiersdelegate-modifierdelegate-modifier:pile-,,protected」nternal,,'-parameter-listspecifiestheparametersofthedelegate,andreturn-typeindicatestheretumtypeofthedelegate・Theoptionalvariant-type-paranieter-,oroutput--safe・Additionally,anyoutorre
毕业设计(论文)外文文献 来自淘豆网m.daumloan.com转载请标明出处.