Using this attribute on a class with the following two static methods,
will cause C1 to call those two methods in the initialization phase of C1.
This can be used to register event handlers ans such.
The static class should have these two static methods:
Namespace: Composite.Core.ApplicationCopyC#
/* This handler will be called before C1 initialization. The data layer cannot be used here. */ public static void OnBeforeInitialize() {} /* This handler will be called after initialization of C1 core. */ public static void OnInitialized() {}
Assembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
Examples
CopyC#
[ApplicationStartup] public class MyAppStartupHandler { public static void OnBeforeInitialize() { } public static void OnInitialized() { } }
Inheritance Hierarchy
System..::..Object
System..::..Attribute
Composite.Core.Application..::..ApplicationStartupAttribute
System..::..Attribute
Composite.Core.Application..::..ApplicationStartupAttribute