internal static ArticleEX SwitchToNewArticleObject(ArticleEX old, ArticleEX @new)
 {
     if(old != null && old.LogListener != null)
         Close(); // remove old AWBLogListener from MyTrace collection
     @new.InitialiseLogListener(); // create new listener and add to collection
     return @new;
 }
Exemple #2
0
 internal static ArticleEX SwitchToNewArticleObject(ArticleEX Old, ArticleEX New)
 {
     if (Old != null && Old.LogListener != null)
     {
         Close();                 // remove old AWBLogListener from MyTrace collection
     }
     New.InitialiseLogListener(); // create new listener and add to collection
     return(New);
 }