Exemplo n.º 1
0
 protected override void RunService()
 {
     ServiceController service = new OfflineServiceController ();
     service.Deserialize (Context.Reader);
     WriteEnums (service);
     WriteService (service);
 }
Exemplo n.º 2
0
 protected override void RunService()
 {
     ServiceController service = new OfflineServiceController ();
     using (var reader = Context.Reader.ReadSubtree ()) {
         reader.Read ();
         service.Deserialize (reader);
     }
     WriteServiceClient ();
     WriteEnums (service);
     WriteService (service);
     WriteHelpers ();
 }