namespace Semmle.Extraction.CSharp
{
///
/// 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(Extraction.Context cx, TInit init)
{
return Create((Context)cx, init);
}
public abstract TEntity Create(Context cx, TInit init);
}
}