Castle.MicroKernel.SubSystems.Naming.TreeNode.FindWithEmptyProperties C# (CSharp) 메소드

FindWithEmptyProperties() 개인적인 메소드

private FindWithEmptyProperties ( ) : TreeNode
리턴 TreeNode
		private TreeNode FindWithEmptyProperties()
		{
			TreeNode current = this;

			while (current != null)
			{
				if (current.CompName.LiteralProperties == null || current.CompName.LiteralProperties == string.Empty)
				{
					return current;
				}

				current = current.NextSibling;
			}

			return this;
		}