Пример #1
0
        public static List <AccessPointInfo> GetFullAccessPointInfoListA1(this IAccessControlService s)
        {
            var r = new List <AccessPointInfo>();

            if (s != null)
            {
                string nextReference = null;
                do
                {
                    AccessPointInfo[] dst = null;
                    nextReference = s.GetAccessPointInfoList(null, nextReference, out dst);
                    r.AddRange(dst);
                } while (!string.IsNullOrEmpty(nextReference) && !s.Test.StopRequested());
            }

            return(r);
        }