Improve XML docs on BrowserRenderer

This commit is contained in:
Steve Sanderson 2018-01-09 15:23:27 +00:00
parent 07e31c6318
commit a729a8d5c5
1 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,10 @@ using System.Collections.Generic;
namespace Microsoft.Blazor.Browser.Rendering namespace Microsoft.Blazor.Browser.Rendering
{ {
/// <summary>
/// Provides mechanisms for rendering <see cref="IComponent"/> instances in a
/// web browser, dispatching events to them, and refreshing the UI as required.
/// </summary>
public class BrowserRenderer : Renderer, IDisposable public class BrowserRenderer : Renderer, IDisposable
{ {
private readonly int _browserRendererId; private readonly int _browserRendererId;
@ -53,7 +57,9 @@ namespace Microsoft.Blazor.Browser.Rendering
RenderComponent(componentId); RenderComponent(componentId);
} }
/// <inheritdoc /> /// <summary>
/// Disposes the instance.
/// </summary>
public void Dispose() public void Dispose()
{ {
BrowserRendererRegistry.TryRemove(_browserRendererId); BrowserRendererRegistry.TryRemove(_browserRendererId);