Avalonia is cross-platform, so no need to make the WindowManager Windows-only
This commit is contained in:
parent
7e2744da38
commit
9f3a8a8142
@ -18,9 +18,6 @@ limitations under the License.
|
|||||||
#endregion // Apache License 2.0
|
#endregion // Apache License 2.0
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
using System.Runtime.Versioning;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
@ -31,9 +28,6 @@ namespace Nuclex.Avalonia.DependencyInjection {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Window manager that is using Microsoft's dependency injection interfaces
|
/// Window manager that is using Microsoft's dependency injection interfaces
|
||||||
/// </summary>
|
/// </summary>
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
[SupportedOSPlatform("windows")]
|
|
||||||
#endif
|
|
||||||
public class DependencyInjectedWindowManager : WindowManager {
|
public class DependencyInjectedWindowManager : WindowManager {
|
||||||
|
|
||||||
#region class WindowScope
|
#region class WindowScope
|
||||||
|
Loading…
Reference in New Issue
Block a user