Skip to content

Commit dcdcfe0

Browse files
committed
Moves property to proper place within the class
1 parent a33d01b commit dcdcfe0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Orm/Xtensive.Orm/Tuples/Transform/MapTransform.cs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ public IReadOnlyList<int> SingleSourceMap {
5656
get => singleSourceMap;
5757
}
5858

59+
/// <summary>
60+
/// Gets or sets destination-to-source field map.
61+
/// </summary>
62+
public IReadOnlyList<Pair<int, int>> Map
63+
{
64+
[DebuggerStepThrough]
65+
get { return Array.AsReadOnly(map); }
66+
}
67+
5968
protected void SetSingleSourceMap(IReadOnlyList<int> singleSourceMap)
6069
{
6170
ArgumentValidator.EnsureArgumentNotNull(singleSourceMap, nameof(singleSourceMap));
@@ -73,14 +82,6 @@ protected void SetSingleSourceMap(IReadOnlyList<int> singleSourceMap)
7382
sourceCount = 1;
7483
}
7584

76-
/// <summary>
77-
/// Gets or sets destination-to-source field map.
78-
/// </summary>
79-
public IReadOnlyList<Pair<int, int>> Map {
80-
[DebuggerStepThrough]
81-
get { return Array.AsReadOnly(map); }
82-
}
83-
8485
protected void SetMap(Pair<int, int>[] map)
8586
{
8687
ArgumentValidator.EnsureArgumentNotNull(map, nameof(map));

0 commit comments

Comments
 (0)