public static void AddSpringCoreTypeRepository(this IServiceCollection services) { services.Configure <FormulaOption>(formulaOption => { }); var registry = new ExpressionTypeRegistry(); services.AddSingleton(registry); }
//public virtual string handleAppException(ActivitiObjectNotFoundException ex) //{ // return ex.Message; //} /// <inheritdoc /> public ProcessDefinitionAdminControllerImpl(ProcessDefinitionResourceAssembler resourceAssembler, PageableProcessDefinitionRepositoryService pageableRepositoryService, ExpressionTypeRegistry expressionTypeRegistry) { this.resourceAssembler = resourceAssembler; this.pageableRepositoryService = pageableRepositoryService; this.expressionTypeRegistry = expressionTypeRegistry; }
public ExpressionTest() { typeRegistry = new ExpressionTypeRegistry(); }