Class ServiceRegisteredEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for service registration events.
public class ServiceRegisteredEventArgs : EventArgs
- Inheritance
-
ServiceRegisteredEventArgs
- Inherited Members
Constructors
ServiceRegisteredEventArgs(string, IPluginService)
Initializes a new instance of the ServiceRegisteredEventArgs class.
public ServiceRegisteredEventArgs(string serviceName, IPluginService service)
Parameters
serviceNamestringThe service name.
serviceIPluginServiceThe service instance.
Properties
Service
Gets the service instance.
public IPluginService Service { get; }
Property Value
ServiceName
Gets the service name.
public string ServiceName { get; }