From 59f6ae62b6358f66e0af4ded5cdcd9f585e34758 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Thu, 18 Jan 2024 16:06:18 +0100 Subject: [PATCH 1/6] e.g. --> for example --- .../umbracoapplicationlifetime-notifications.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 4dd1971a22b..f18d44a8a69 100644 --- a/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md +++ b/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md @@ -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).
From 6baf18fd5ccbdd462668f77161df2b0b327d0bf8 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Thu, 18 Jan 2024 16:19:38 +0100 Subject: [PATCH 2/6] Write shorter sentence --- .../notifications/umbracoapplicationlifetime-notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index f18d44a8a69..05f12f42360 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 From 6a6ca2444a1005c0a3cdc1756923b63b11910912 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Thu, 18 Jan 2024 16:22:57 +0100 Subject: [PATCH 3/6] Update v12 & 13 --- .../umbracoapplicationlifetime-notifications.md | 10 +++++----- .../umbracoapplicationlifetime-notifications.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 7552afb400c..0e1f66c29a6 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..0e1f66c29a6 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).
    | From ca9cb42e5a997823327b20c756bd363f6f43fcae Mon Sep 17 00:00:00 2001 From: Alina-Magdalena Tincas <83591955+alina-tincas@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:50:01 +0100 Subject: [PATCH 4/6] Update 10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md --- .../notifications/umbracoapplicationlifetime-notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/10/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 05f12f42360..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. -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. +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 From ff44ab6ce3ddb97393e03f5decc1eb509e56d399 Mon Sep 17 00:00:00 2001 From: Alina-Magdalena Tincas <83591955+alina-tincas@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:50:05 +0100 Subject: [PATCH 5/6] Update 12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md --- .../notifications/umbracoapplicationlifetime-notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/12/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 0e1f66c29a6..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. -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. +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 From 8aa07b015c5876d4ed0859f0834d9c5a489acdbb Mon Sep 17 00:00:00 2001 From: Alina-Magdalena Tincas <83591955+alina-tincas@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:50:10 +0100 Subject: [PATCH 6/6] Update 13/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md --- .../notifications/umbracoapplicationlifetime-notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md b/13/umbraco-cms/reference/notifications/umbracoapplicationlifetime-notifications.md index 0e1f66c29a6..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. -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. +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