示例#1
0
        public static void AddSpringCoreTypeRepository(this IServiceCollection services)
        {
            services.Configure <FormulaOption>(formulaOption =>
            {
            });

            var registry = new ExpressionTypeRegistry();

            services.AddSingleton(registry);
        }
示例#2
0
        //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;
        }
示例#3
0
 public ExpressionTest()
 {
     typeRegistry = new ExpressionTypeRegistry();
 }