22 lines
507 B
C#
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);
|
|
}
|
|
}
|