mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
14 lines
418 B
C#
14 lines
418 B
C#
namespace Semmle.Extraction.CSharp
|
|
{
|
|
/// <summary>
|
|
/// A factory for creating cached entities.
|
|
/// </summary>
|
|
public abstract class CachedEntityFactory<TInit, TEntity> where TEntity : Entities.CachedEntity
|
|
{
|
|
/// <summary>
|
|
/// Initializes the entity, but does not generate any trap code.
|
|
/// </summary>
|
|
public abstract TEntity Create(Context cx, TInit init);
|
|
}
|
|
}
|