GetWrd() публичный статический Метод

public static GetWrd ( ) : WebRoleData
Результат WebRoleData
Пример #1
0
        public void WrdAllHubsHaveWhatOrWhere()
        {
            var wrd = WebRoleData.GetWrd();

            foreach (var id in wrd.ready_ids)
            {
                var calinfo = Utils.AcquireCalinfo(id);
                Assert.That(calinfo.where != null && calinfo.what != null);
            }
        }
Пример #2
0
        public void WrdCanDeserialize()
        {
            var wrd = WebRoleData.GetWrd();

            Assert.That(wrd.what_ids.Count + wrd.where_ids.Count + wrd.region_ids.Count == wrd.ready_ids.Count);
        }