findRoot() public method

public findRoot ( ) : BASEBean
return BASEBean
コード例 #1
0
ファイル: BaseBean.cs プロジェクト: zhaoshijian/ATMLWorkBench
        public BASEBean findRoot()
        {
            BASEBean root = null;

            if (parentBean == null)
            {
                root = this;
            }
            else
            {
                root = parentBean.findRoot();
            }
            return(root);
        }