Castle.MicroKernel.DefaultKernel.RaiseRegistrationCompleted C# (CSharp) Method

RaiseRegistrationCompleted() protected method

protected RaiseRegistrationCompleted ( ) : void
return void
		protected virtual void RaiseRegistrationCompleted()
		{
			RegistrationCompleted(this, EventArgs.Empty);
		}

Usage Example

示例#1
0
            public void Dispose()
            {
                lock (kernel.handlersChangedLock)
                {
                    try
                    {
                        if (kernel.handlersChanged == false)
                        {
                            return;
                        }

                        kernel.DoActualRaisingOfHandlersChanged();
                        kernel.RaiseRegistrationCompleted();
                        kernel.handlersChanged = false;
                    }
                    finally
                    {
                        kernel.handlersChangedDeferred = false;
                    }
                }
            }