예제 #1
0
 public UserRepository(IXmlWorker xmlWorker)
 {
     _xmlWorker = xmlWorker;
     _path      = ConfigurationManager.AppSettings["xmlPath"];
     Users      = _xmlWorker.Deserilize <List <User> >(_xmlWorker.Read());
 }