From 7ba39d4b64a4b692df806c1bc163128cb041c6d9 Mon Sep 17 00:00:00 2001 From: kreghek Date: Sat, 3 Jun 2023 10:41:26 +0000 Subject: [PATCH] [Bot] Automated ReSharper CLT update --- .../TemplateBasedGraphGenerator.cs | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/CombatDicesTeam.Graphs.Generation/TemplateBased/TemplateBasedGraphGenerator.cs b/src/CombatDicesTeam.Graphs.Generation/TemplateBased/TemplateBasedGraphGenerator.cs index 1b3216c..10fa42d 100644 --- a/src/CombatDicesTeam.Graphs.Generation/TemplateBased/TemplateBasedGraphGenerator.cs +++ b/src/CombatDicesTeam.Graphs.Generation/TemplateBased/TemplateBasedGraphGenerator.cs @@ -1,11 +1,11 @@ using JetBrains.Annotations; -namespace CombatDicesTeam.Graphs.Generation.TemplateBased; - -/// -/// Implemetation of graph generator based on templates and ways. -/// -/// Type of graph node data. +namespace CombatDicesTeam.Graphs.Generation.TemplateBased; + +/// +/// Implemetation of graph generator based on templates and ways. +/// +/// Type of graph node data. [PublicAPI] public sealed class TemplateBasedGraphGenerator : IGraphGenerator { @@ -31,20 +31,20 @@ private static void ConnectNodes(IGraph graph, IList> CreateWayNodes(IGraphNode> way) - { - var list = new List>(); - foreach (var wayTemplate in way.Payload.WayTemplates) - { - var context = new GraphTemplateContext(list); - var node = wayTemplate.Create(context); - list.Add(node); - } - - return list; - } - - /// + private static IList> CreateWayNodes(IGraphNode> way) + { + var list = new List>(); + foreach (var wayTemplate in way.Payload.WayTemplates) + { + var context = new GraphTemplateContext(list); + var node = wayTemplate.Create(context); + list.Add(node); + } + + return list; + } + + /// public IGraph Create() { var wayGraph = _config.WayGraph;