示例#1
0
        public void Refresh()
        {
            _web.RefreshLoad();
            _web.Context.ExecuteQuery();

            _detailedLists                 = null;
            _lists                         = null;
            _availableContentTypes         = null;
            _contentTypes                  = null;
            _folders                       = null;
            _allProperties                 = null;
            _associatedMemberGroup         = null;
            _associatedOwnerGroup          = null;
            _associatedVisitorGroup        = null;
            _currentUser                   = null;
            _subWebs                       = null;
            _subWebsForCurrentUser         = null;
            _detailedSubWebsForCurrentUser = null;
            _detailedSubWebs               = null;
            _allSubWebs                    = null;
            _detailedAllSubWebs            = null;
            _eventReceivers                = null;
        }
示例#2
0
        public void Refresh()
        {
            _web.RefreshLoad();
            _web.Context.ExecuteQuery();

            _detailedLists = null;
            _lists = null;
            _availableContentTypes = null;
            _contentTypes = null;
            _folders = null;
            _allProperties = null;
            _associatedMemberGroup = null;
            _associatedOwnerGroup = null;
            _associatedVisitorGroup = null;
            _currentUser = null;
            _subWebs = null;
            _subWebsForCurrentUser = null;
            _detailedSubWebsForCurrentUser = null;
            _detailedSubWebs = null;
            _allSubWebs = null;
            _detailedAllSubWebs = null;
            _eventReceivers = null;
        }