Skip to content

Commit 998c37f

Browse files
authored
Merge pull request #6745 from glombek/bugfix/typo-supress-to-suppress
Correct typo of Suppress as "Supress"
2 parents f93c1c3 + 38ce649 commit 998c37f

File tree

10 files changed

+30
-30
lines changed

10 files changed

+30
-30
lines changed

10/umbraco-cms/reference/notifications/contentservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,20 +205,20 @@ We can suppress notifications at the scope level which makes things consistent a
205205

206206
**How to use scopes**:
207207

208-
* Create an explicit scope and call scope.Notifications.Supress().
208+
* Create an explicit scope and call scope.Notifications.Suppress().
209209
* The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
210210

211211
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
212212

213213
```csharp
214214
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
215-
using (IDisposable _ = scope.Notifications.Supress())
215+
using (IDisposable _ = scope.Notifications.Suppress())
216216
{
217217
// TODO: Calls to service methods here will not have notifications
218218
}
219219
```
220220

221-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
221+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
222222

223223
**Why would one want to suppress events?**
224224

10/umbraco-cms/reference/notifications/mediaservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,20 @@ We can suppress notifications at the scope level which makes things consistent a
111111

112112
**How to use scopes**:
113113

114-
* Create an explicit scope and call scope.Notifications.Supress().
114+
* Create an explicit scope and call scope.Notifications.Suppress().
115115
* The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
116116

117117
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
118118

119119
```csharp
120120
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
121-
using (IDisposable _ = scope.Notifications.Supress())
121+
using (IDisposable _ = scope.Notifications.Suppress())
122122
{
123123
// TODO: Calls to service methods here will not have notifications
124124
}
125125
```
126126

127-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
127+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
128128

129129
**Why would one want to suppress events?**
130130

10/umbraco-cms/reference/notifications/memberservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,20 @@ We can suppress notifications at the scope level which makes things consistent a
5353

5454
**How to use scopes**:
5555

56-
* Create an explicit scope and call scope.Notifications.Supress().
56+
* Create an explicit scope and call scope.Notifications.Suppress().
5757
* The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
5858

5959
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
6060

6161
```csharp
6262
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
63-
using (IDisposable _ = scope.Notifications.Supress())
63+
using (IDisposable _ = scope.Notifications.Suppress())
6464
{
6565
// TODO: Calls to service methods here will not have notifications
6666
}
6767
```
6868

69-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
69+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
7070

7171
**Why would one want to suppress events?**
7272

13/umbraco-cms/reference/notifications/contentservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,20 +200,20 @@ We can suppress notifications at the scope level which makes things consistent a
200200

201201
**How to use scopes**:
202202

203-
- Create an explicit scope and call scope.Notifications.Supress().
203+
- Create an explicit scope and call scope.Notifications.Suppress().
204204
- The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
205205

206206
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
207207

208208
```csharp
209209
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
210-
using (IDisposable _ = scope.Notifications.Supress())
210+
using (IDisposable _ = scope.Notifications.Suppress())
211211
{
212212
// TODO: Calls to service methods here will not have notifications
213213
}
214214
```
215215

216-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
216+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
217217

218218
**Why would one want to suppress events?**
219219

13/umbraco-cms/reference/notifications/mediaservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,20 @@ We can suppress notifications at the scope level which makes things consistent a
111111

112112
**How to use scopes**:
113113

114-
- Create an explicit scope and call scope.Notifications.Supress().
114+
- Create an explicit scope and call scope.Notifications.Suppress().
115115
- The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
116116

117117
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
118118

119119
```csharp
120120
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
121-
using (IDisposable _ = scope.Notifications.Supress())
121+
using (IDisposable _ = scope.Notifications.Suppress())
122122
{
123123
// TODO: Calls to service methods here will not have notifications
124124
}
125125
```
126126

127-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
127+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
128128

129129
**Why would one want to suppress events?**
130130

13/umbraco-cms/reference/notifications/memberservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ We can suppress notifications at the scope level which makes things consistent a
5252

5353
**How to use scopes**:
5454

55-
- Create an explicit scope and call scope.Notifications.Supress().
55+
- Create an explicit scope and call scope.Notifications.Suppress().
5656
- The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
5757

5858
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
5959

6060
```csharp
6161
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
62-
using (IDisposable _ = scope.Notifications.Supress())
62+
using (IDisposable _ = scope.Notifications.Suppress())
6363
{
6464
// TODO: Calls to service methods here will not have notifications
6565
}
6666
```
6767

68-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
68+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
6969

7070
**Why would one want to suppress events?**
7171

14/umbraco-cms/reference/notifications/mediaservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,20 @@ We can suppress notifications at the scope level which makes things consistent a
111111

112112
**How to use scopes**:
113113

114-
- Create an explicit scope and call scope.Notifications.Supress().
114+
- Create an explicit scope and call scope.Notifications.Suppress().
115115
- The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
116116

117117
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
118118

119119
```csharp
120120
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
121-
using (IDisposable _ = scope.Notifications.Supress())
121+
using (IDisposable _ = scope.Notifications.Suppress())
122122
{
123123
// TODO: Calls to service methods here will not have notifications
124124
}
125125
```
126126

127-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
127+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
128128

129129
**Why would one want to suppress events?**
130130

14/umbraco-cms/reference/notifications/memberservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ We can suppress notifications at the scope level which makes things consistent a
5252

5353
**How to use scopes**:
5454

55-
- Create an explicit scope and call scope.Notifications.Supress().
55+
- Create an explicit scope and call scope.Notifications.Suppress().
5656
- The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
5757

5858
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
5959

6060
```csharp
6161
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
62-
using (IDisposable _ = scope.Notifications.Supress())
62+
using (IDisposable _ = scope.Notifications.Suppress())
6363
{
6464
// TODO: Calls to service methods here will not have notifications
6565
}
6666
```
6767

68-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
68+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
6969

7070
**Why would one want to suppress events?**
7171

15/umbraco-cms/reference/notifications/mediaservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,20 @@ We can suppress notifications at the scope level which makes things consistent a
111111

112112
**How to use scopes**:
113113

114-
- Create an explicit scope and call scope.Notifications.Supress().
114+
- Create an explicit scope and call scope.Notifications.Suppress().
115115
- The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
116116

117117
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
118118

119119
```csharp
120120
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
121-
using (IDisposable _ = scope.Notifications.Supress())
121+
using (IDisposable _ = scope.Notifications.Suppress())
122122
{
123123
// TODO: Calls to service methods here will not have notifications
124124
}
125125
```
126126

127-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
127+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
128128

129129
**Why would one want to suppress events?**
130130

15/umbraco-cms/reference/notifications/memberservice-notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ We can suppress notifications at the scope level which makes things consistent a
5252

5353
**How to use scopes**:
5454

55-
- Create an explicit scope and call scope.Notifications.Supress().
55+
- Create an explicit scope and call scope.Notifications.Suppress().
5656
- The result of Suppress() is IDisposable, so until it is disposed, notifications will not be added to the queue.
5757

5858
[Example](https://github.com/umbraco/Umbraco-CMS/blob/b69afe81f3f6fcd37480b3b0295a62af44ede245/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/SupressNotificationsTests.cs#L35):
5959

6060
```csharp
6161
using (IScope scope = ScopeProvider.CreateScope(autoComplete: true))
62-
using (IDisposable _ = scope.Notifications.Supress())
62+
using (IDisposable _ = scope.Notifications.Suppress())
6363
{
6464
// TODO: Calls to service methods here will not have notifications
6565
}
6666
```
6767

68-
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Supress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
68+
Child scope will inherit the parent Scope's notification object which means if a parent scope has notifications suppressed, then so does the child scope. You cannot call Suppress() more than once for the same outer scope instance else an exception will be thrown. This ensures that you cannot un-suppress notifications at a child level for an outer scope. It also ensures that suppressing events is an explicit thing to do.
6969

7070
**Why would one want to suppress events?**
7171

0 commit comments

Comments
 (0)