From 6d7d587a33ba8136ca09256f001c16a66638af0f Mon Sep 17 00:00:00 2001 From: David Sparer Date: Wed, 17 Aug 2016 09:11:13 -0600 Subject: [PATCH] Renamed "Parent" interface to "IParent" --- mRemoteV1/Connection/ConnectionInfo.cs | 2 +- mRemoteV1/Connection/{Parent.cs => IParent.cs} | 2 +- mRemoteV1/Tree/TreeNodeMover.cs | 4 ++-- mRemoteV1/mRemoteV1.csproj | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename mRemoteV1/Connection/{Parent.cs => IParent.cs} (80%) diff --git a/mRemoteV1/Connection/ConnectionInfo.cs b/mRemoteV1/Connection/ConnectionInfo.cs index dfea0a4f..5526a281 100644 --- a/mRemoteV1/Connection/ConnectionInfo.cs +++ b/mRemoteV1/Connection/ConnectionInfo.cs @@ -22,7 +22,7 @@ using mRemoteNG.Messages; namespace mRemoteNG.Connection { [DefaultProperty("Name")] - public class ConnectionInfo : Parent, IInheritable + public class ConnectionInfo : IParent, IInheritable { #region Private Properties private string _description; diff --git a/mRemoteV1/Connection/Parent.cs b/mRemoteV1/Connection/IParent.cs similarity index 80% rename from mRemoteV1/Connection/Parent.cs rename to mRemoteV1/Connection/IParent.cs index 5c965333..49145a19 100644 --- a/mRemoteV1/Connection/Parent.cs +++ b/mRemoteV1/Connection/IParent.cs @@ -2,7 +2,7 @@ namespace mRemoteNG.Connection { - public interface Parent + public interface IParent { ContainerInfo Parent { get; set; } } diff --git a/mRemoteV1/Tree/TreeNodeMover.cs b/mRemoteV1/Tree/TreeNodeMover.cs index 5712edad..eda89ded 100644 --- a/mRemoteV1/Tree/TreeNodeMover.cs +++ b/mRemoteV1/Tree/TreeNodeMover.cs @@ -66,7 +66,7 @@ namespace mRemoteNG.Tree { if (ConnectionTreeNode.GetNodeType(_nodeBeingMoved.Parent) == TreeNodeType.Container) { - ((Parent)_nodeBeingMoved.Tag).Parent = (ContainerInfo)_nodeBeingMoved.Parent.Tag; + ((IParent)_nodeBeingMoved.Tag).Parent = (ContainerInfo)_nodeBeingMoved.Parent.Tag; ((IInheritable)_nodeBeingMoved.Tag).Inheritance.EnableInheritance(); } } @@ -75,7 +75,7 @@ namespace mRemoteNG.Tree { if (ConnectionTreeNode.GetNodeType(_nodeBeingMoved.Parent) == TreeNodeType.Root) { - ((Parent)_nodeBeingMoved.Tag).Parent = null; + ((IParent)_nodeBeingMoved.Tag).Parent = null; ((IInheritable)_nodeBeingMoved.Tag).Inheritance.DisableInheritance(); } } diff --git a/mRemoteV1/mRemoteV1.csproj b/mRemoteV1/mRemoteV1.csproj index edbfb2d5..f1567bf4 100644 --- a/mRemoteV1/mRemoteV1.csproj +++ b/mRemoteV1/mRemoteV1.csproj @@ -158,7 +158,7 @@ - +