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