Index: Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/CalculationTreeNodeInfoFactory.cs =================================================================== diff -u -rb47c41dd3741ada477388e6c8a9224ecb66291e7 -r9263778fff83c60f7d7f149985017d5350d2818a --- Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/CalculationTreeNodeInfoFactory.cs (.../CalculationTreeNodeInfoFactory.cs) (revision b47c41dd3741ada477388e6c8a9224ecb66291e7) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/CalculationTreeNodeInfoFactory.cs (.../CalculationTreeNodeInfoFactory.cs) (revision 9263778fff83c60f7d7f149985017d5350d2818a) @@ -78,14 +78,14 @@ /// Creates a object for a calculation context of the type . /// /// The icon of the . - /// The function for obtaining the child node objects. + /// The function for obtaining the child node objects. /// The function for obtaining the context menu strip. /// The action to perform on removing a node. /// The type of calculation context to create a object for. /// A object. public static TreeNodeInfo CreateCalculationContextTreeNodeInfo( Bitmap icon, - Func childeNodeObjects, + Func childNodeObjects, Func contextMenuStrip, Action onNodeRemoved) where TCalculationContext : ICalculationContext @@ -95,7 +95,7 @@ Text = context => context.WrappedData.Name, Image = context => icon, EnsureVisibleOnCreate = (context, parent) => true, - ChildNodeObjects = childeNodeObjects, + ChildNodeObjects = childNodeObjects, ContextMenuStrip = contextMenuStrip, CanRename = (context, parent) => true, OnNodeRenamed = (context, newName) => @@ -112,15 +112,15 @@ /// /// Creates a object for a failure mechanism context of the type . /// - /// The function for obtaining the child node objects when is true. - /// The function for obtaining the child node objects when is false. + /// The function for obtaining the child node objects when is true. + /// The function for obtaining the child node objects when is false. /// The function for obtaining the context menu strip when is true. /// The function for obtaining the context menu strip when is false. /// The type of failure mechanism context to create a object for. /// A object. public static TreeNodeInfo CreateFailureMechanismContextTreeNodeInfo( - Func enabledChildeNodeObjects, - Func disabledChildeNodeObjects, + Func enabledChildNodeObjects, + Func disabledChildNodeObjects, Func enabledContextMenuStrip, Func disabledContextMenuStrip) where TFailureMechanismContext : IFailureMechanismContext @@ -133,8 +133,8 @@ : Color.FromKnownColor(KnownColor.GrayText), Image = context => Resources.FailureMechanismIcon, ChildNodeObjects = context => context.WrappedData.IsRelevant - ? enabledChildeNodeObjects(context) - : disabledChildeNodeObjects(context), + ? enabledChildNodeObjects(context) + : disabledChildNodeObjects(context), ContextMenuStrip = (context, parentData, treeViewControl) => context.WrappedData.IsRelevant ? enabledContextMenuStrip(context, parentData, treeViewControl) : disabledContextMenuStrip(context, parentData, treeViewControl)