port from perforce
This commit is contained in:
33
intromat/NodeNetwork/ViewModels/EndpointGroup.cs
Normal file
33
intromat/NodeNetwork/ViewModels/EndpointGroup.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user