mirror of
https://github.com/CommunityToolkit/dotnet.git
synced 2026-10-19 05:31:42 +08:00
24 lines
712 B
C#
24 lines
712 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;
|
|
|
|
#pragma warning disable MVVMTK0032
|
|
|
|
namespace CommunityToolkit.Mvvm.ExternalAssembly;
|
|
|
|
/// <summary>
|
|
/// See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/4167.
|
|
/// This model in particular is loaded from an external .NET Standard 2.0 assembly.
|
|
/// </summary>
|
|
[INotifyPropertyChanged]
|
|
public partial class SampleModelWithINPCAndObservableProperties
|
|
{
|
|
[ObservableProperty]
|
|
private int x;
|
|
|
|
[ObservableProperty]
|
|
private int y;
|
|
}
|