Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Jul 10, 2022
1 parent 3ff5e50 commit b1ca26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csharp/Platform.Data.Doublets.Xml/DefaultXmlStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public void EnsureIsElementLinkAddress(TLinkAddress possibleElementLinkAddress)
}
}

public string GetElementNameC(TLinkAddress elementLinkAddress)
public string GetElementName(TLinkAddress elementLinkAddress)
{
EnsureIsElementLinkAddress(elementLinkAddress);
var elementNameLinkAddress = Links.GetTarget(elementLinkAddress);
Expand Down Expand Up @@ -647,7 +647,7 @@ public TLinkAddress GetElementChildrenNodesSequence(TLinkAddress childrenNodesLi

public IList<TLinkAddress> GetElementChildrenNodes(TLinkAddress elementLinkAddress)
{
if (!IsDocument(elementLinkAddress))
if (!IsElementNode(elementLinkAddress))
{
throw new ArgumentException("The passed link address is not an element link address.", nameof(elementLinkAddress));
}
Expand Down

0 comments on commit b1ca26f

Please sign in to comment.