Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created January 6, 2016 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/11f061ae01a9f17754b5 to your computer and use it in GitHub Desktop.
Save bjoerntx/11f061ae01a9f17754b5 to your computer and use it in GitHub Desktop.
public class Document
{
public Document() { }
public Document(string FilePath)
{
this.FilePath = FilePath;
this.Name = Path.GetFileName(this.FilePath);
}
public string Name { get; }
public string FilePath { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment