Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Commit 8c65de7

Browse files
committed
Add support for revision ID into ILayoutService interface
1 parent 1d0c08c commit 8c65de7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/InvvardDev.EZLayoutDisplay.Desktop/Service/Interface/ILayoutService.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ public interface ILayoutService
1010
/// Gets the <see cref="ErgodoxLayout"/> basic info.
1111
/// </summary>
1212
/// <param name="layoutHashId">The layout hash ID to get.</param>
13+
/// <param name="layoutRevisionId">The layout revision ID to get.</param>
1314
/// <returns>The <see cref="ErgodoxLayout"/>.</returns>
14-
Task<ErgodoxLayout> GetLayoutInfo(string layoutHashId);
15+
Task<ErgodoxLayout> GetLayoutInfo(string layoutHashId, string layoutRevisionId);
1516

1617
/// <summary>
1718
/// Gets the <see cref="ErgodoxLayout"/>.
1819
/// </summary>
1920
/// <param name="layoutHashId">The layout hash ID to get.</param>
21+
/// <param name="layoutRevisionId">The layout revision ID to get.</param>
2022
/// <returns>The <see cref="ErgodoxLayout"/>.</returns>
21-
Task<ErgodoxLayout> GetErgodoxLayout(string layoutHashId);
23+
Task<ErgodoxLayout> GetErgodoxLayout(string layoutHashId, string layoutRevisionId);
2224

2325
/// <summary>
2426
/// Transforms an <see cref="ErgodoxLayout"/> into a <see cref="EZLayout"/>.

0 commit comments

Comments
 (0)