SonarLint.VisualStudio.Progress.Controller.SequentialProgressController.GetService C# (CSharp) Method

GetService() public method

Returns the instance of a service for the specified service type
public GetService ( Type serviceType ) : object
serviceType System.Type The type of the requested service
return object
        public object GetService(Type serviceType)
        {
            if (this.serviceProvider == null)
            {
                return null;
            }

            return this.serviceProvider.GetService(serviceType);
        }
        #endregion