23 lines
484 B
C#
23 lines
484 B
C#
namespace LaaProductionWeb.Blazor.Components.CSD.Models
|
|
{
|
|
using System;
|
|
|
|
public class BasisItem(string basis)
|
|
{
|
|
public event Action<BasisItem> BasisSelected;
|
|
|
|
public string Basis { get; } = basis;
|
|
|
|
private bool selected;
|
|
public bool Selected
|
|
{
|
|
get => this.selected;
|
|
set
|
|
{
|
|
this.selected = value;
|
|
|
|
this.BasisSelected?.Invoke(this);
|
|
}
|
|
}
|
|
}
|
|
} |