Introduce deliberate misspelling

This commit is contained in:
Steve Sanderson 2018-02-19 15:14:08 +00:00
parent 608da4c78b
commit a4c74234b4
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ namespace Microsoft.AspNetCore.Blazor.Components
// This implicitly means a BlazorComponent can only be associated with a single
// renderer. That's the only use case we have right now. If there was ever a need,
// a component could hold a collection of render handles.
if (_renderHandle.IsInitalised)
if (_renderHandle.IsInitalized)
{
throw new InvalidOperationException($"The render handle is already set. Cannot initialize a {nameof(BlazorComponent)} more than once.");
}

View File

@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Blazor.Components
/// Gets a value that indicates whether the <see cref="RenderHandle"/> has been
/// initialised and is ready to use.
/// </summary>
public bool IsInitalised
public bool IsInitalized
=> _renderer != null;
/// <summary>