ServiceManager.Publish Method
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Publishes the given service type, but does not declare an instance. When the service is requested, the Publish service callback will be invoked to create the instance. The callback is invoked only once. After that, the instance it returned is cached.
Overload List
Name | Description | |
---|---|---|
Publish(Type, PublishServiceCallback) | Publishes the specified service type, but does not declare an instance. When the service is requested, the Publish service callback will be invoked to create the instance. The callback is invoked only once. After that, the instance it returned is cached. | |
Publish(Type, Object) | Publishes the given service. After it is published, the service instance remains in the service manager until the editing context is disposed of. |
Top