public static TypeCachingDecoration CacheTypes(this AssemblyTrackingDecoration decorated) { Condition.Requires(decorated).IsNotNull(); return(new TypeCachingDecoration(decorated)); }
public TypeCachingDecoration(AssemblyTrackingDecoration decorated) : base(decorated) { this.Types = new List <Type>(); decorated.AssemblyRegistered += decorated_AssemblyRegistered; }
public TypeCachingDecoration(AssemblyTrackingDecoration decorated) : base(decorated) { this.Types = new List<Type>(); decorated.AssemblyRegistered += decorated_AssemblyRegistered; }