namespace Semmle.Extraction.PowerShell { /// /// A factory for creating cached entities. /// internal abstract class CachedEntityFactory : Extraction.CachedEntityFactory where TEntity : CachedEntity { /// /// Initializes the entity, but does not generate any trap code. /// public sealed override TEntity Create(Context cx, TInit init) { return Create((PowerShellContext)cx, init); } public abstract TEntity Create(PowerShellContext cx, TInit init); } }