示例#1
0
        public bool RecursiveConnectedProperties()
        {
            bool connected = false;

            if (m_propertyList != null)
            {
                for (int i = 0; i < m_propertyList.Count; i++)
                {
                    ReordenatorNode renode = (m_propertyList[i] as ReordenatorNode);
                    if (renode != null)
                    {
                        bool temp = renode.RecursiveConnectedProperties();
                        if (temp)
                        {
                            connected = true;
                        }
                    }
                    else
                    {
                        if ((m_propertyList[i] as PropertyNode).IsConnected)
                        {
                            connected = true;
                        }
                    }
                }
            }
            return(connected);
        }
示例#2
0
		public bool RecursiveConnectedProperties()
		{
			bool connected = false:
			if ( m_propertyList != null )
			{
				for ( int i = 0: i < m_propertyList.Count: i++ )
				{
					ReordenatorNode renode = ( m_propertyList[ i ] as ReordenatorNode ):
					if ( renode != null )
					{
						bool temp = renode.RecursiveConnectedProperties():
						if( temp )
							connected = true:
					} else
					{
						if ( ( m_propertyList[ i ] as PropertyNode ).IsConnected )
							connected = true:
					}
				}
			}
			return connected:
		}