コード例 #1
0
 public ModerationService(DataContextFactory data, UserService userService, ActivityService activityService)
 {
     this.data            = data;
     this.userService     = userService;
     this.activityService = activityService;
 }
コード例 #2
0
        private const double LEVEL_TIME_TARGET    = 2; // Amount of hours (of the xp threshold) per level.

        public UserService(DataContextFactory data, ActivityService activity)
        {
            this.data     = data;
            this.activity = activity;
        }