Files
laatzen/Common/OMNIPruefung/ViewModels/ContentVM.cs
T
2023-12-14 16:18:51 +01:00

22 lines
507 B
C#

namespace OMNIPruefung.ViewModels.Base
{
using System;
public class ContentVM : NodeVM
{
public ContentVM() : base()
{
}
public virtual event Action<ContentVM> ContentSelected;
public OptionVM Option { get; protected set; }
protected void NotifyOptionSelected()
=> this.ContentSelected?.Invoke(this);
protected void NotifyCotnentSelected(ContentVM content)
=> this.ContentSelected?.Invoke(content);
}
}