Example #1
0
 public override void Exit()
 {
     if (userGenericService != null)
     {
         userGenericService.Dispose();
     }
     userGenericService = null;
     base.Exit();
 }
Example #2
0
        public void LoadUserService(Type createServiceType, object createMethodArgs)
        {
            var createServiceMethod = GetCreateUserServiceMethod(createServiceType);

            userGenericService = createServiceMethod.Invoke(null, null) as IUserGenericService;
            if (userGenericService == null)
            {
                throw new ApplicationException("create-service-method failed to create user service");
            }
        }
Example #3
0
		public void LoadUserService(Type createServiceType, object createMethodArgs) {
			var createServiceMethod = GetCreateUserServiceMethod(createServiceType);
			userGenericService = createServiceMethod.Invoke(null, null) as IUserGenericService;
			if (userGenericService == null)
				throw new ApplicationException("create-service-method failed to create user service");
		}
Example #4
0
		public override void Exit() {
			if (userGenericService != null)
				userGenericService.Dispose();
			userGenericService = null;
			base.Exit();
		}