From df319b1f816e200dbbfc2c8cc99fca7fee978e7b Mon Sep 17 00:00:00 2001 From: Alessio Lombardi Date: Wed, 16 Sep 2020 09:03:35 +0100 Subject: [PATCH] Fixing #54 --- Filing_oM/Directory.cs | 2 +- Filing_oM/FSDirectory.cs | 2 +- Filing_oM/FSFile.cs | 2 +- Filing_oM/File.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Filing_oM/Directory.cs b/Filing_oM/Directory.cs index 4d01113..fe4439a 100644 --- a/Filing_oM/Directory.cs +++ b/Filing_oM/Directory.cs @@ -21,7 +21,7 @@ public class Directory : BHoMObject, IDirectory, ILocatableResource, IContainabl public virtual string Location { get; set; } [Description("Name of the directory.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("The content of the Directory.")] public virtual List Content { get; set; } = new List(); diff --git a/Filing_oM/FSDirectory.cs b/Filing_oM/FSDirectory.cs index 2fb1956..a13441d 100644 --- a/Filing_oM/FSDirectory.cs +++ b/Filing_oM/FSDirectory.cs @@ -21,7 +21,7 @@ public class FSDirectory : BHoMObject, IFSContainer, IDirectory public virtual FSDirectory ParentDirectory { get; set; } [Description("Name of the directory.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("Gets a value indicating whether a file exists.")] public virtual bool? Exists { get; set; } = null; diff --git a/Filing_oM/FSFile.cs b/Filing_oM/FSFile.cs index 964a15a..a250f6b 100644 --- a/Filing_oM/FSFile.cs +++ b/Filing_oM/FSFile.cs @@ -21,7 +21,7 @@ public class FSFile : BHoMObject, IFSContainer, IFile public virtual FSDirectory ParentDirectory { get; set; } [Description("Name of the file, INCLUDING Extension.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("Gets a value indicating whether a file exists.")] public virtual bool? Exists { get; set; } = null; diff --git a/Filing_oM/File.cs b/Filing_oM/File.cs index 50572e8..3b01ffa 100644 --- a/Filing_oM/File.cs +++ b/Filing_oM/File.cs @@ -21,7 +21,7 @@ public class File : BHoMObject, IFile, ILocatableResource, IContainableResource public virtual string Location { get; set; } [Description("Name of the file, INCLUDING Extension.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("The content of the file.")] public virtual List Content { get; set; } = new List();