Using CSharpCodeProvider to allow user created functions

后端 未结 2 484
悲哀的现实
悲哀的现实 2021-01-25 06:35

I have an existing asp.net (c#) application. I need to provide users with a way to create flexibles rules to calculate an effective date given a hiredate and an enrollmentdate.<

2条回答
  •  半阙折子戏
    2021-01-25 07:11

    The following link has what you're after. Essentially it is a plugable DSL that allows infinite date schedules and sets to be define and then passed to functions, intersected, unioned, etc..

    http://code.google.com/p/drules/

提交回复
热议问题