Renamed "Parent" interface to "IParent"

This commit is contained in:
David Sparer
2016-08-17 09:11:13 -06:00
parent 35b6e2bf35
commit 6d7d587a33
4 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -2,7 +2,7 @@
namespace mRemoteNG.Connection
{
public interface Parent
public interface IParent
{
ContainerInfo Parent { get; set; }
}

View File

@@ -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();
}
}

View File

@@ -158,7 +158,7 @@
<Compile Include="Connection\DefaultConnectionInfo.cs" />
<Compile Include="Connection\DefaultConnectionInheritance.cs" />
<Compile Include="Connection\IInheritable.cs" />
<Compile Include="Connection\Parent.cs" />
<Compile Include="Connection\IParent.cs" />
<Compile Include="Connection\Protocol\ProtocolFactory.cs" />
<Compile Include="Connection\Protocol\RDP\RDPEnums.cs" />
<Compile Include="Connection\Protocol\RDP\RDPVersions.cs" />