The base interface for all external servers.
Namespace:
Autodesk.Revit.DB.ExternalService
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2013
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Remarks
Every external service in Revit declares a specific interface
for its servers. Each interface must be derived from this IExternalServer.
Providers of external servers implement the server interfaces
defined by the respective external services to which the servers
belong. The whole process of creating a server and registering
it with Revit as a server of a concrete external service can be
outlined in the following steps:
- A provider of an external service declares a server interface derived from IExternalServer
- The provider of the service will make it known that this interface is for the servers of that service
- An application wanting to have a server will implement the appropriate interface
- The server's application obtains the service from Revit using the ExternalServiceRegistry.GetService method
- An instance of the server class can then be registered with Revit by using the ExternalService.AddServer method