31 lines
628 B
C#
31 lines
628 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using WinWARP.Core.Models.Entities;
|
|
|
|
namespace WinWARP.Core.ViewModels.Wrappers;
|
|
|
|
public partial class StandaloneServerViewModel : ServerItemViewModel
|
|
{
|
|
public StandaloneServerViewModel(StandaloneServer server) : base(server)
|
|
{
|
|
FilePath = server.FilePath;
|
|
}
|
|
|
|
[ObservableProperty]
|
|
public partial string FilePath
|
|
{
|
|
get; set;
|
|
} = string.Empty;
|
|
|
|
public async override Task DeleteAsync()
|
|
{
|
|
|
|
}
|
|
|
|
public async override Task EditNameAsync()
|
|
{
|
|
|
|
}
|
|
} |