Exemple #1
0
 private TheTypeLocator()
 {
     lock (this._stateLock)
     {
         //by default use the default type locator
         this.Locator = NaturalTypeLocator.New().TrackAssemblies().CacheTypes();
     }
 }
Exemple #2
0
 public static TypeContainer <T> NewDefault(Func <Type, bool> filter = null)
 {
     return(new TypeContainer <T>(NaturalTypeLocator.New(), filter));
 }