???????????????????????mySection ?????????????

???????????????????????????Щ??????????????????????????????????MySectionHelper??????????
1     public class MySectionHelper
2     {
3         readonly XmlNode _section;
4         readonly XmlNode _coustomAssembly;
5         public MySectionHelper(XmlNode section)
6         {
7             _section=section;
8             _coustomAssembly= _section.SelectSingleNode("coustomAssembly");
9         }
10
11         public string CommandsAssembly{get{return _coustomAssembly.Attributes["CommandsAssembly"].Value;}}
12     }
?????????в??У???????????
????1     <configSections>
????2         <section name="mySection" type="ConfigSolution.ConfigSectionHandler??ConfigSolution"></section>
????3     </configSections>
????4     <mySection>
????5         <port CPort="40001" WPort="40002" SPort="50000"></port>
????6         <coustomAssembly CommandsAssembly="HX.Components.Command.Collection" CommandMessagesAssembly="HX.Components.CommandMessage.Collection"></coustomAssembly>
????7     </mySection>
???????н????

??????????????ɡ????????????????????и???????????????
?????????д??????.Net ???????ó??????á??????????????