Skip to content

Commit a035005

Browse files
[~] Summary texts CactuseSecurity#2949
1 parent 5d9ed3b commit a035005

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

roles/lib/files/FWO.Services/ModellingConnectionHandler.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,10 @@ public bool CalcVisibility()
10211021
return true;
10221022
}
10231023

1024-
public bool IsAreaForbiddenInDirection(Direction direction)
1024+
/// <summary>
1025+
/// Checks the opposite direction if it already contains a network area.
1026+
/// </summary>
1027+
private bool IsAreaForbiddenInDirection(Direction direction)
10251028
{
10261029
return direction switch
10271030
{
@@ -1081,6 +1084,11 @@ public bool NetworkAreaUseAllowed(List<ModellingNetworkArea> networkAreas, Direc
10811084
return false;
10821085
}
10831086

1087+
/// <summary>
1088+
/// Checks the given list of network areas against common network area settings.
1089+
/// </summary>
1090+
/// <param name="networkAreas"></param>
1091+
/// <returns></returns>
10841092
private bool HasCommonNetworkAreas(List<ModellingNetworkArea> networkAreas)
10851093
{
10861094
foreach (ModellingNetworkArea area in networkAreas)

0 commit comments

Comments
 (0)