Пример #1
0
 public override void  RegisterAll(TemplateRegistry registry)
 {
     if (registry == null)
     {
         return;
     }
     MessageTemplate[] templatesp = registry.Templates;
     if (templatesp == null)
     {
         return;
     }
     for (int i = 0; i < templatesp.Length; i++)
     {
         Register(registry.GetId(templatesp[i]), templatesp[i]);
     }
 }
 public override void RegisterAll(TemplateRegistry registry)
 {
     if (registry == null) return;
     MessageTemplate[] templatesp = registry.Templates;
     if (templatesp == null) return;
     for (int i = 0; i < templatesp.Length; i++)
     {
         Register(registry.GetId(templatesp[i]), templatesp[i]);
     }
 }