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