Ejemplo n.º 1
0
        /// <summary>
        ///   Use to publish an <see cref="OnValidated" /> event.
        /// </summary>
        /// <param name="e"> </param>
        protected virtual void OnValidateActionComplete(ProcessActionEventArgs e)
        {
            EventHandler <ProcessActionEventArgs> handler = OnValidated;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        ///   Use to publish <see cref="OnActionStarting" /> event.
        /// </summary>
        /// <param name="e"> </param>
        protected virtual void OnStart(ProcessActionEventArgs e)
        {
            EventHandler <ProcessActionEventArgs> handler = OnActionStarting;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        ///   Use to publish <see cref="OnPreAuthorized" /> event.
        /// </summary>
        /// <param name="e"> </param>
        protected virtual void OnPreAuthorizeComplete(ProcessActionEventArgs e)
        {
            EventHandler <ProcessActionEventArgs> handler = OnPreAuthorized;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 4
0
        /// <summary>
        ///   Use to publish an <see cref="OnPostActionExecuting" /> event.
        /// </summary>
        /// <param name="e"> </param>
        protected virtual void OnPostActionExecuteStart(ProcessActionEventArgs e)
        {
            EventHandler <ProcessActionEventArgs> hanlder = OnPostActionExecuting;

            if (hanlder != null)
            {
                hanlder(this, e);
            }
        }
Ejemplo n.º 5
0
 /// <summary>
 ///   Use to publish an <see cref="OnValidated" /> event.
 /// </summary>
 /// <param name="e"> </param>
 protected virtual void OnValidateActionComplete(ProcessActionEventArgs e)
 {
     EventHandler<ProcessActionEventArgs> handler = OnValidated;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Ejemplo n.º 6
0
 /// <summary>
 ///   Use to publish <see cref="OnActionStarting" /> event.
 /// </summary>
 /// <param name="e"> </param>
 protected virtual void OnStart(ProcessActionEventArgs e)
 {
     EventHandler<ProcessActionEventArgs> handler = OnActionStarting;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Ejemplo n.º 7
0
 /// <summary>
 ///   Use to publish <see cref="OnPreAuthorized" /> event.
 /// </summary>
 /// <param name="e"> </param>
 protected virtual void OnPreAuthorizeComplete(ProcessActionEventArgs e)
 {
     EventHandler<ProcessActionEventArgs> handler = OnPreAuthorized;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Ejemplo n.º 8
0
 /// <summary>
 ///   Use to publish an <see cref="OnPostActionExecuting" /> event.
 /// </summary>
 /// <param name="e"> </param>
 protected virtual void OnPostActionExecuteStart(ProcessActionEventArgs e)
 {
     EventHandler<ProcessActionEventArgs> hanlder = OnPostActionExecuting;
     if (hanlder != null)
     {
         hanlder(this, e);
     }
 }