????????????????:
????1.???????д??
????2.??????????????λ???????(???????????)
????3.д??????????????(??????????????????)
????4.????????????????????ide????resharper?????????????????????????????????????????????CodeReview??????????κ?????????????.
??????????????4???????????????е??????????????????????????.
???????????????????????????????е??????????????????д???????д??.
?????????????????????????????м????????????????????????????(how do)??????????????(do what)??????????????????????????????????????????????????????????????????????????:?????д???????????д???????????????????????????????????????!!
?????e???????????????????????????????2??й?????
??????о??????????????????????????????????????????.
???????????????????????????????е????????????????????Σ???????????й?????.
???????????????:
??????????????????????????????????????!?????д????????????????????????????????????
??????Щ????????????????????????????????????д????????????????.?????????????????????????????????????????????.
???????????????е????????:
?????????????д????????£?????????????????????????2?????????????????????????????????.
??????????????????????????????????????????????
???????????????? "??????????????ü?????????????????????????"???????.
?????????????????????????????????????е??????????.
?????????????????????????????????????????????????ж?????????????????.
????????????????????ü??????????????????????????????????????.
???????????????????????????????????????.
??????????????????.
???????????????????????????£????????????????????????????????????????????????????????????----?????÷??????!
?????????????????OutPutMetaData?????????????·??????????? ????????????????
???????????? ???????->????????->??????->????MetaData
????????????1-2k?У????д????????????棬?????????????????????????????????????????????????д???????????????????????????????????????????.
?????????д??????????????????????????????????(???)??????????????
public MetaData OutPutMetaData(string sourcePath?? MetaTemplate template)
{
var metaDataFactory = new MetaDataFactory();
if (!metaDataFactory.CheckInput(sourcePath))
{
throw new ErrorSourceException();
}
if (!metaDataFactory.TransformSourceData(template))
{
throw new ErrorFormatException();
}
return metaDataFactory.CreateMetaData();
}
????????д????????????????????????????Щ?м???????????????????????????????????????????????????????????????λ?????????????????.
??????????????????????????(???)???????????? ??????????.
?????????:
???????????????????γ?????????淶?????"?淶"????????????????????????????????????????????????.????????????γ?????????????????????????????????????????????????????????????????.
??????????????????????????????????????????????.????????????????Щ???:
????1.???????????????????InitFactory????????FactoryInit???????????????????????????????????????????????????????????????????????????????????????????????????api???????????.
????2.html??????idСд?????class??д????????????????????????.
????3.??????????????????????what it is(??????????)????what it can do(????????????????????)????doClose?? ???????????????closing???? closed???????????
????????????????Щ?о????????????????????????????????????????????????Щγ??????????з??access business viewModel show interaction ?????????????????????????????????????????????????и???????λ.
????????????????????????????????????????????????????(????)???.
????Ps:?????????????????????????????????
??????????????????д??????????.