34 lines
699 B
C#
34 lines
699 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
using ReactiveUI;
|
|
|
|
namespace NodeNetwork.ViewModels
|
|
{
|
|
public class EndpointGroup : ReactiveObject
|
|
{
|
|
public EndpointGroup Parent { get; }
|
|
|
|
#region Name
|
|
private string _name = "";
|
|
public string Name
|
|
{
|
|
get => _name;
|
|
set => this.RaiseAndSetIfChanged(ref _name, value);
|
|
}
|
|
#endregion
|
|
|
|
public EndpointGroup(EndpointGroup parent = null)
|
|
{
|
|
Parent = parent;
|
|
}
|
|
|
|
public EndpointGroup(string name, EndpointGroup parent = null)
|
|
{
|
|
Parent = parent;
|
|
Name = name;
|
|
}
|
|
}
|
|
}
|