コード例 #1
0
        private static void ReIndexForMember(IMember member)
        {
            var actions = DeferedActions.Get(ApplicationContext.Current.ScopeProvider);

            if (actions != null)
            {
                actions.Add(new DeferedReIndexForMember(member));
            }
            else
            {
                DeferedReIndexForMember.Execute(member);
            }
        }
コード例 #2
0
        private void ReIndexForMember(IMember member)
        {
            var actions = DeferedActions.Get(_scopeProvider);

            if (actions != null)
            {
                actions.Add(new DeferedReIndexForMember(this, member));
            }
            else
            {
                DeferedReIndexForMember.Execute(this, member);
            }
        }
コード例 #3
0
        /// <inheritdoc />
        public void ReIndexForMember(IMember member)
        {
            var actions = DeferedActions.Get(_scopeProvider);

            if (actions != null)
            {
                actions.Add(new DeferedReIndexForMember(_backgroundTaskQueue, this, member));
            }
            else
            {
                DeferedReIndexForMember.Execute(_backgroundTaskQueue, this, member);
            }
        }