mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Renamed "Parent" interface to "IParent"
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace mRemoteNG.Connection
|
||||
{
|
||||
public interface Parent
|
||||
public interface IParent
|
||||
{
|
||||
ContainerInfo Parent { get; set; }
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user