public void Initialize()
        {
            var engineModel = new EngineApiModel(DataSource);
            var builder     = new EngineApiBuilder(engineModel);

            ApiContext.CreateApi(builder);

            _apiDirectorySource = builder.BuildSource();
        }
Ejemplo n.º 2
0
 internal ApiContextDirectory(IRequestContext requestContext, IApiDirectorySource directorySource)
 {
     _directorySource = directorySource;
 }