|
|
|
@ -6,7 +6,7 @@ namespace Avalonia.Controls |
|
|
|
/// Creates a control.
|
|
|
|
/// </summary>
|
|
|
|
/// <typeparam name="TControl">The type of control.</typeparam>
|
|
|
|
public interface ITemplate<TControl> : ITemplate where TControl : IControl |
|
|
|
public interface ITemplate<TControl> : ITemplate where TControl : IControl? |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Creates the control.
|
|
|
|
@ -16,4 +16,4 @@ namespace Avalonia.Controls |
|
|
|
/// </returns>
|
|
|
|
new TControl Build(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|