ATMLCommonLibrary.controls.network.NetworkNodeListControl.ListContainsValue C# (CSharp) Метод

ListContainsValue() приватный Метод

private ListContainsValue ( List nodePaths, string value ) : bool
nodePaths List
value string
Результат bool
        private bool ListContainsValue( List<NetworkNode> nodePaths, string value )
        {
            bool found = false;
            foreach (NetworkNode nodePath in nodePaths)
            {
                if (nodePath.Path.Value == value)
                {
                    found = true;
                    break;
                }
            }
            return found;
        }

Same methods

NetworkNodeListControl::ListContainsValue ( List nodePaths, string value ) : bool