Esempio n. 1
0
 internal void RegisterResolver(IItemResolver resolver)
 {
     if (ActiveResolvers == null)
     {
         ActiveResolvers = new List <IItemResolver> ();
     }
     ActiveResolvers.Add(resolver);
 }
Esempio n. 2
0
 internal void InvalidateResolvers()
 {
     if (ActiveResolvers != null)
     {
         foreach (var resolver in ActiveResolvers)
         {
             resolver.Invalid = true;
         }
         ActiveResolvers.Clear();
     }
 }