1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- namespace InABox.Core
- {
- //// [JsonConverter(typeof(DataFileJsonConverter))]
- //public abstract class DataFile
- //{
- // public DataFile() : this("", new byte[] { })
- // {
- // }
- // public DataFile(String filename, byte[] data)
- // {
- // FileName = filename;
- // Data = data;
- // }
- // public override string ToString()
- // {
- // return String.IsNullOrEmpty(FileName) ? "" : FileName.ToString();
- // }
- // [NullEditor]
- // public String FileName { get; set; }
- // [NullEditor]
- // public byte[] Data { get; set; }
- // public abstract String Filter();
- //}
- //public class ImageDataFile : DataFile
- //{
- // public override string Filter()
- // {
- // return "Image Files (*.bmp;*.jpg;*.png)|*.bmp;*.jpg;*.jpeg;*.png";
- // }
- //}
- //public class MiscellaneousDataFile : DataFile
- //{
- // public override string Filter()
- // {
- // return "All Files (*.*)|*.*";
- // }
- //}
- //public class PDFDataFile : DataFile
- //{
- // public override string Filter()
- // {
- // return "PDF Files (*.pdf)|*.pdf";
- // }
- //}
- }
|