Skip to content

Commit

Permalink
Introduce GetItemId abstract method
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-yagodin committed Mar 14, 2018
1 parent 2c1d181 commit bed8703
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R7.Dnn.Extensions/Modules/EditPortalModuleBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,13 @@ protected virtual TItem GetItemWithDependencies (TItemId itemId)
return GetItem (itemId);
}

/// <summary>
/// Gets the integer identifier of the item.
/// </summary>
/// <returns>The integer identifier.</returns>
/// <param name="item">Item.</param>
protected abstract TItemId GetItemId (TItem item);

/// <summary>
/// Implement method which will get item by id.
/// Usually there is no need to return extra data
Expand Down

0 comments on commit bed8703

Please sign in to comment.