diff --git a/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 4dd1971a22b..face8709be2 100644 --- a/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md +++ b/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md @@ -9,7 +9,7 @@ description: Represents an Umbraco application lifetime (starting, started, stop Umbraco application lifetime notifications are published for the starting, started, stopping, and stopped events of the Umbraco runtime. These events implement the `IUmbracoApplicationLifetimeNotification` interface that contains a single `IsRestarting` property. -A Umbraco application is restarted after an install or upgrade has been completed, so you can use this property to prevent running code twice (on initial boot and restart). To prevent running code when the application is in the install or upgrade state, inject an `IRuntimeState` instance in your notification and inspect the `Level` property instead. +An Umbraco application is restarted after an install or upgrade has been completed. You can use this property to prevent running code twice: on initial boot and restart. To prevent running code when the application is in the install or upgrade state, inject an `IRuntimeState` instance in your notification and inspect the `Level` property instead. ## Usage @@ -72,7 +72,7 @@ public class UmbracoApplicationNotificationHandler : INotificationHandlerIComponents are initialized but before any incoming requests are accepted.
  1. RuntimeLevel: Gets the runtime level.
  2. -
  3. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
  4. +
  5. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
@@ -87,7 +87,7 @@ public class UmbracoApplicationNotificationHandler : INotificationHandler Triggered when the application has fully started and is accepting incoming requests.
    -
  1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
  2. +
  3. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
@@ -102,7 +102,7 @@ public class UmbracoApplicationNotificationHandler : INotificationHandler Triggered when the application is performing a graceful shutdown after all IComponents are terminated.
    -
  1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
  2. +
  3. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
@@ -117,7 +117,7 @@ public class UmbracoApplicationNotificationHandler : INotificationHandler Triggered when the application has performed a graceful shutdown.
    -
  1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
  2. +
  3. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
diff --git a/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 7552afb400c..fbe3360f489 100644 --- a/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md +++ b/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md @@ -8,7 +8,7 @@ description: >- Umbraco application lifetime notifications are published for the starting, started, stopping, and stopped events of the Umbraco runtime. These events implement the `IUmbracoApplicationLifetimeNotification` interface that contains a single `IsRestarting` property. -A Umbraco application is restarted after an install or upgrade has been completed, so you can use this property to prevent running code twice (on initial boot and restart). To prevent running code when the application is in the install or upgrade state, inject an `IRuntimeState` instance in your notification and inspect the `Level` property instead. +An Umbraco application is restarted after an install or upgrade has been completed. You can use this property to prevent running code twice: on initial boot and restart. To prevent running code when the application is in the install or upgrade state, inject an `IRuntimeState` instance in your notification and inspect the `Level` property instead. ## Usage @@ -54,7 +54,7 @@ public class UmbracoApplicationNotificationHandler : INotificationHandler
  • RuntimeLevel RuntimeLevel
  • bool IsRestarting
  • |

    Triggered when the application is starting after all IComponents are initialized but before any incoming requests are accepted.

    1. RuntimeLevel: Gets the runtime level.
    2. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | -| UmbracoApplicationStartedNotification |
    • bool IsRestarting
    |

    Triggered when the application has fully started and is accepting incoming requests.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | -| UmbracoApplicationStoppingNotification |
    • bool IsRestarting
    |

    Triggered when the application is performing a graceful shutdown after all IComponents are terminated.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | -| UmbracoApplicationStoppedNotification |
    • bool IsRestarting
    |

    Triggered when the application has performed a graceful shutdown.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | +| UmbracoApplicationStartingNotification |
    • RuntimeLevel RuntimeLevel
    • bool IsRestarting
    |

    Triggered when the application is starting after all IComponents are initialized but before any incoming requests are accepted.

    1. RuntimeLevel: Gets the runtime level.
    2. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    | +| UmbracoApplicationStartedNotification |
    • bool IsRestarting
    |

    Triggered when the application has fully started and is accepting incoming requests.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    | +| UmbracoApplicationStoppingNotification |
    • bool IsRestarting
    |

    Triggered when the application is performing a graceful shutdown after all IComponents are terminated.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    | +| UmbracoApplicationStoppedNotification |
    • bool IsRestarting
    |

    Triggered when the application has performed a graceful shutdown.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    | diff --git a/13/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/13/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 7552afb400c..fbe3360f489 100644 --- a/13/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md +++ b/13/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md @@ -8,7 +8,7 @@ description: >- Umbraco application lifetime notifications are published for the starting, started, stopping, and stopped events of the Umbraco runtime. These events implement the `IUmbracoApplicationLifetimeNotification` interface that contains a single `IsRestarting` property. -A Umbraco application is restarted after an install or upgrade has been completed, so you can use this property to prevent running code twice (on initial boot and restart). To prevent running code when the application is in the install or upgrade state, inject an `IRuntimeState` instance in your notification and inspect the `Level` property instead. +An Umbraco application is restarted after an install or upgrade has been completed. You can use this property to prevent running code twice: on initial boot and restart. To prevent running code when the application is in the install or upgrade state, inject an `IRuntimeState` instance in your notification and inspect the `Level` property instead. ## Usage @@ -54,7 +54,7 @@ public class UmbracoApplicationNotificationHandler : INotificationHandler
  • RuntimeLevel RuntimeLevel
  • bool IsRestarting
  • |

    Triggered when the application is starting after all IComponents are initialized but before any incoming requests are accepted.

    1. RuntimeLevel: Gets the runtime level.
    2. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | -| UmbracoApplicationStartedNotification |
    • bool IsRestarting
    |

    Triggered when the application has fully started and is accepting incoming requests.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | -| UmbracoApplicationStoppingNotification |
    • bool IsRestarting
    |

    Triggered when the application is performing a graceful shutdown after all IComponents are terminated.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | -| UmbracoApplicationStoppedNotification |
    • bool IsRestarting
    |

    Triggered when the application has performed a graceful shutdown.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
    | +| UmbracoApplicationStartingNotification |
    • RuntimeLevel RuntimeLevel
    • bool IsRestarting
    |

    Triggered when the application is starting after all IComponents are initialized but before any incoming requests are accepted.

    1. RuntimeLevel: Gets the runtime level.
    2. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    | +| UmbracoApplicationStartedNotification |
    • bool IsRestarting
    |

    Triggered when the application has fully started and is accepting incoming requests.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    | +| UmbracoApplicationStoppingNotification |
    • bool IsRestarting
    |

    Triggered when the application is performing a graceful shutdown after all IComponents are terminated.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    | +| UmbracoApplicationStoppedNotification |
    • bool IsRestarting
    |

    Triggered when the application has performed a graceful shutdown.

    1. IsRestarting: Gets a value indicating whether Umbraco is restarting (for example after an install or upgrade).
    |