Пример #1
0
        public void AttachEventHandlers(ModuleRegistry registry)
        {
            WebEvents wem = WebEvents.Instance;

            wem.OnLoadRequestedPath += new WebEvents.RequestedPathEventHandler(OnLoadRequestedPath);
            OnAdminRequest          += new AdminRequestHandler(WebsiteAdmin_OnAdminRequest);
        }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GeoLocationRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public GeoLocationRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public MediaRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QuestionnaireRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public QuestionnaireRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
Пример #5
0
 public void AttachEventHandlers(ModuleRegistry registry)
 {
     WebEvents wem = WebEvents.Instance;
     wem.OnLoadRequestedPath += new WebEvents.RequestedPathEventHandler(OnLoadRequestedPath);
     OnAdminRequest += new AdminRequestHandler(WebsiteAdmin_OnAdminRequest);
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GeoFencingRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public GeoFencingRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SurveyRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public SurveyRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommonRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public CommonRoute(AdminRequestHandler hanlder)
 {
     this.RequestHandler = hanlder;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public UserRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PanelRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public PanelRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
Пример #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SchedulerRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public SchedulerRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
 /// <summary>
 /// The notifcationRoute constructor.
 /// </summary>
 /// <param name="hanlder"></param>
 public NotificationRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
Пример #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public EmailRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public ProjectRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
Пример #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SampleRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public SampleRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ThemeRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public ThemeRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProfileElementRoute"/> class.
 /// </summary>
 /// <param name="hanlder">
 /// The hanlder.
 /// </param>
 public ProfileElementRoute(AdminRequestHandler hanlder)
 {
     RequestHandler = hanlder;
 }