UserFormAdapterException.cs
上传用户:husern
上传日期:2022-03-24
资源大小:534k
文件大小:2k
源码类别:

编辑器/阅读器

开发平台:

C#

  1. // -- FILE ------------------------------------------------------------------
  2. // name       : UserFormAdapterException.cs
  3. // project    : Itenso Web User Forms
  4. // created    : Jani Giannoudis - 2008.10.30
  5. // language   : c#
  6. // environment: .NET 2.0
  7. // copyright  : (c) 2008 by Itenso GmbH, Switzerland
  8. // --------------------------------------------------------------------------
  9. using System;
  10. using Itenso.WebUserForms.Data.Form;
  11. using Itenso.WebUserForms.Controls;
  12. namespace Itenso.WebUserForms.Runtime
  13. {
  14. // ------------------------------------------------------------------------
  15. public class UserFormAdapterException : Exception
  16. {
  17. // ----------------------------------------------------------------------
  18. public UserFormAdapterException()
  19. {
  20. } // UserFormAdapterException
  21. // ----------------------------------------------------------------------
  22. public UserFormAdapterException( string message, IUserForm userForm, IForm formData ) :
  23. base( message )
  24. {
  25. this.userForm = userForm;
  26. this.formData = formData;
  27. } // UserFormAdapterException
  28. // ----------------------------------------------------------------------
  29. public IUserForm UserForm
  30. {
  31. get { return this.userForm; }
  32. } // UserForm
  33. // ----------------------------------------------------------------------
  34. public IForm FormData
  35. {
  36. get { return this.formData; }
  37. } // FormData
  38. // ----------------------------------------------------------------------
  39. // members
  40. private readonly IUserForm userForm;
  41. private readonly IForm formData;
  42. } // class UserFormAdapterException
  43. } // namespace Itenso.WebUserForms.Runtime
  44. // -- EOF -------------------------------------------------------------------