mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
36 lines
640 B
C#
36 lines
640 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using RainmeterEditor.Model;
|
|
|
|
namespace RainmeterEditor.Documents.Text
|
|
{
|
|
public class TextDocument : IDocument
|
|
{
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return Path.GetFileName(FilePath);
|
|
}
|
|
}
|
|
|
|
public string FilePath
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string Text
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public TextDocument()
|
|
{
|
|
Text = String.Empty;
|
|
}
|
|
}
|
|
}
|