Skip to content

Commit 63e7356

Browse files
committed
refactor: change IGridCells and IGridConfiguration properties to read-only
1 parent 51eb0c3 commit 63e7356

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/interfaces/Grid/IGridCells.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public interface IGridCells {
1111
/// <summary>
1212
/// Células da grid.
1313
/// </summary>
14-
Array<int> Cells { get; set; }
14+
Array<int> Cells { get; }
1515

1616
/// <summary>
1717
/// Obtém o índice de uma célula.

src/interfaces/Grid/IGridConfiguration.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ public interface IGridConfiguration {
77
/// <summary>
88
/// Número de linhas da grid.
99
/// </summary>
10-
int Rows { get; set; }
10+
int Rows { get; }
1111

1212
/// <summary>
1313
/// Número de colunas da grid.
1414
/// </summary>
15-
int Columns { get; set; }
15+
int Columns { get; }
1616

1717
/// <summary>
1818
/// Prefixo da grid.
1919
/// </summary>
20-
string Prefix { get; set; }
20+
string Prefix { get; }
2121

2222
/// <summary>
2323
/// Offset da grid.
2424
/// </summary>
25-
int Offset { get; set; }
25+
int Offset { get; }
2626

2727
/// <summary>
2828
/// Direção da grid.
2929
/// </summary>
30-
GridDirection Direction { get; set; }
30+
GridDirection Direction { get; }
3131
}

0 commit comments

Comments
 (0)