.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Workbook.AddService Method

Name Parameters Description
AddService(Type, ServiceCreatorCallback) serviceType, callback Adds the specified service to the service container. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
AddService(Type, ServiceCreatorCallback, Boolean) serviceType, callback, promote Adds the specified service to the service container. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
AddService(Type, Object) serviceType, serviceInstance Adds the specified service to the service container. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
AddService(Type, Object, Boolean) serviceType, serviceInstance, promote Adds the specified service to the service container. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.