src/Misc/EFTools/XmlCore/Core/Context/EditingContext.cs
/// <summary>
///     Calls back on the provided callback when someone has published the requested service.
///     If the service was already available, this method invokes the callback immediately.
///     A generic version of this method is provided for convience, and calls the non-generic
///     method with appropriate casts.
/// </summary>
/// <param name="serviceType"></param>
/// <param name="callback"></param>
Calls back on the provided callback when someone has published the requested service.
If the service was already available, this method invokes the callback immediately.
A generic version of this method is provided for convience, and calls the non-generic
method with appropriate casts.
Calls back on the provided callback when someone has published the requested service . If the service was already available this method invokes the callback immediately . A generic version of this method is provided for convience and calls the non - generic method with appropriate casts .
public override void Publish(Type serviceType, PublishServiceCallback callback)
            {
                if (serviceType == null)
                {
                    throw new ArgumentNullException("serviceType");
                }
                if (callback == null)
                {
                    throw new ArgumentNullException("callback");
                }
                Publish(serviceType, (object)callback);
            }
public override void Publish ( Type serviceType , PublishServiceCallback callback ) { if ( serviceType == null ) { throw new ArgumentNullException ( " " ) ; } if ( callback == null ) { throw new ArgumentNullException ( " " ) ; } Publish ( serviceType , ( object ) callback ) ; }
Calls back on the provided callback when someone has published the requested service.
Calls back on the provided callback when someone has published the requested service .
serviceType
Type
None
callback
PublishServiceCallback
None