Minor formatting/code cleanup
This commit is contained in:
Родитель
a1ba123c48
Коммит
9b64beb69c
|
@ -23,7 +23,7 @@ namespace BlinForms.Framework
|
|||
public override Dispatcher Dispatcher { get; }
|
||||
= Dispatcher.CreateDefault();
|
||||
|
||||
public Task AddComponent<T>() where T: IComponent
|
||||
public Task AddComponent<T>() where T : IComponent
|
||||
{
|
||||
var component = InstantiateComponent(typeof(T));
|
||||
var componentId = AssignRootComponentId(component);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using Microsoft.AspNetCore.Components;
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.RenderTree;
|
||||
|
||||
namespace BlinForms.Framework.Controls
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.RenderTree;
|
||||
using System;
|
||||
|
||||
namespace BlinForms.Framework.Controls
|
||||
{
|
||||
|
@ -21,7 +22,6 @@ namespace BlinForms.Framework.Controls
|
|||
{
|
||||
public BlazorLabel()
|
||||
{
|
||||
Width = 200;
|
||||
}
|
||||
|
||||
public void ApplyAttribute(ref RenderTreeFrame attribute)
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.RenderTree;
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace Sample
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче