class Context implements IContext<TEntity> {

    public void OnEntityCreated(ContextEntityChanged listener) {
        if (OnEntityCreated != null) {
            OnEntityCreated = EntitasCollections.createSet(ContextEntityChanged.class);
        }
        OnEntityCreated.add(listener);
    }

    public  Context(int totalComponents, int startCreationIndex, ContextInfo contexInfo,
                   EntityBaseFactory<TEntity> factoryMethod, Function<TEntity, IAERC> aercFactory);

}