Skip to content

Commit 7f0dd56

Browse files
Corrected spelling error in obsolete messages.
1 parent 0955eda commit 7f0dd56

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/KristofferStrube.Blazor.FileAPI/FileReader.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,42 +173,42 @@ public async Task<ushort> GetReadyStateAsync()
173173
/// <summary>
174174
/// Invoked when a load starts.
175175
/// </summary>
176-
[Obsolete("This will be removed in the next major release as in favor of AddOnLoadStartEventListenerAsync and RemoveOnLoadStartEventListenerAsync as they are more memory safe.")]
176+
[Obsolete("This will be removed in the next major release in favor of AddOnLoadStartEventListenerAsync and RemoveOnLoadStartEventListenerAsync as they are more memory safe.")]
177177
[JsonIgnore]
178178
public Func<ProgressEvent, Task>? OnLoadStart { get; set; }
179179

180180
/// <summary>
181181
/// Invoked when the progress of a load changes which includes when it ends.
182182
/// </summary>
183-
[Obsolete("This will be removed in the next major release as in favor of AddOnProgressEventListenerAsync and RemoveOnProgressEventListenerAsync as they are more memory safe.")]
183+
[Obsolete("This will be removed in the next major release in favor of AddOnProgressEventListenerAsync and RemoveOnProgressEventListenerAsync as they are more memory safe.")]
184184
[JsonIgnore]
185185
public Func<ProgressEvent, Task>? OnProgress { get; set; }
186186

187187
/// <summary>
188188
/// Invoked when a load ends successfully.
189189
/// </summary>
190-
[Obsolete("This will be removed in the next major release as in favor of AddOnLoadEventListenerAsync and RemoveOnLoadEventListenerAsync as they are more memory safe.")]
190+
[Obsolete("This will be removed in the next major release in favor of AddOnLoadEventListenerAsync and RemoveOnLoadEventListenerAsync as they are more memory safe.")]
191191
[JsonIgnore]
192192
public Func<ProgressEvent, Task>? OnLoad { get; set; }
193193

194194
/// <summary>
195195
/// Invoked when a load is aborted.
196196
/// </summary>
197-
[Obsolete("This will be removed in the next major release as in favor of AddOnAbortEventListenerAsync and RemoveOnAbortEventListenerAsync as they are more memory safe.")]
197+
[Obsolete("This will be removed in the next major release in favor of AddOnAbortEventListenerAsync and RemoveOnAbortEventListenerAsync as they are more memory safe.")]
198198
[JsonIgnore]
199199
public Func<ProgressEvent, Task>? OnAbort { get; set; }
200200

201201
/// <summary>
202202
/// Invoked when a load fails due to an error.
203203
/// </summary>
204-
[Obsolete("This will be removed in the next major release as in favor of AddOnErrorEventListenerAsync and RemoveOnErrorEventListenerAsync as they are more memory safe.")]
204+
[Obsolete("This will be removed in the next major release in favor of AddOnErrorEventListenerAsync and RemoveOnErrorEventListenerAsync as they are more memory safe.")]
205205
[JsonIgnore]
206206
public Func<ProgressEvent, Task>? OnError { get; set; }
207207

208208
/// <summary>
209209
/// Invoked when a load finishes successfully or not.
210210
/// </summary>
211-
[Obsolete("This will be removed in the next major release as in favor of AddOnLoadEndEventListenerAsync and RemoveOnLoadEndEventListenerAsync as they are more memory safe.")]
211+
[Obsolete("This will be removed in the next major release in favor of AddOnLoadEndEventListenerAsync and RemoveOnLoadEndEventListenerAsync as they are more memory safe.")]
212212
[JsonIgnore]
213213
public Func<ProgressEvent, Task>? OnLoadEnd { get; set; }
214214

0 commit comments

Comments
 (0)