private void RecursionGroupPath(string DomainCode, List<IvsDomainRoute> ivsDomainRouteList, ref List<string> pathDomainList)
{
IvsDomainRoute domainRoute=ivsDomainRouteList.Find((x) =>
{
return x.DomainCode == DomainCode;
});
if (domainRoute != null)
{
if (string.IsNullOrEmpty(domainRoute.ParentDomain))
{
return;
}
else
{
pathDomainList.Insert(0, CgwConst.IVS_SDK_ROOTGROUP_TAG + CgwConst.IVS_SDK_DOMAINCODE_SEPARATOR_TAG + domainRoute.ParentDomain);
RecursionGroupPath(domainRoute.ParentDomain, ivsDomainRouteList, ref pathDomainList);
}
}
}