Class Standard.Application.AfterStartArgs
- Namespace
- Dynamicweb.Notifications
- Assembly
- Dynamicweb.dll
Provides information about the application
public class Standard.Application.AfterStartArgs : Standard.Application.LifeCycleEventNotification
- Inheritance
-
Standard.Application.AfterStartArgs
- Inherited Members
Examples
using Dynamicweb;
namespace Dynamicweb.Examples.Notifications.Standard
{
[Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Notifications.Standard.Application.AfterDynamicwebStart)]
public class ApplicationStartObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
if (args == null)
return;
if (!(args is Dynamicweb.Notifications.Standard.Application.AfterDynamicwebStartArgs))
return;
Dynamicweb.Notifications.Standard.Application.AfterDynamicwebStartArgs item = (Dynamicweb.Notifications.Standard.Application.AfterDynamicwebStartArgs)args;
//Add code here
}
}
}
Remarks
Arguments passed to Dynamicweb.Notifications.Standard.Application.AfterStart notification