1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-11-25 01:42:46 +01:00
.NET-Community-Toolkit/tests/CommunityToolkit.Mvvm.UnitTests/Test_ObservablePropertyAttribute.RootNamespace.cs

12 lines
464 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using CommunityToolkit.Mvvm.ComponentModel;
// Test viewmodel for https://github.com/CommunityToolkit/dotnet/issues/271
internal partial class ModelWithObservablePropertyInRootNamespace : ObservableObject
{
[ObservableProperty]
private float number;
}