Skip to content

Commit

Permalink
add method comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed May 24, 2024
1 parent 32680dc commit 2d6d540
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions uSync.BackOffice/SyncHandlers/Handlers/RelationTypeHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ protected override bool ShouldImport(XElement node, HandlerSettings config)
protected override string GetItemName(IRelationType item)
=> item.Name ?? item.Alias;

/// <inheritdoc/>
protected override string GetItemFileName(IRelationType item)
=> GetItemAlias(item).ToSafeAlias(shortStringHelper);
/// <inheritdoc/>
protected override string GetItemFileName(IRelationType item)
=> GetItemAlias(item).ToSafeAlias(shortStringHelper);

protected override IEnumerable<IEntity> GetChildItems(int parent)
{
if (parent == -1)
return relationService.GetAllRelationTypes();
protected override IEnumerable<IEntity> GetChildItems(int parent)
{
if (parent == -1)
return relationService.GetAllRelationTypes();

return [];
}
Expand Down

0 comments on commit 2d6d540

Please sign in to comment.