SonarLint.VisualStudio.Progress.Controller.SequentialProgressController.GetService C# (CSharp) 메소드

GetService() 공개 메소드

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
리턴 object
        public object GetService(Type serviceType)
        {
            if (this.serviceProvider == null)
            {
                return null;
            }

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