DSIK_FILEZILLA/sikFtpClient/Model/DiscElementModel.cs

21 lines
454 B
C#
Raw Normal View History

2019-01-20 14:51:36 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace sikFtpClient.Model
{
public abstract class DiscElementModel
{
public string Path { get; set; }
public string Name { get; set; }
public DiscElementModel(string path)
{
this.Path = path;
this.Name = path.Substring(path.LastIndexOf('\\') + 1);
}
}
}