Table of Contents

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

serviceName string

The service name.

service IPluginService

The service instance.

Properties

Service

Gets the service instance.

public IPluginService Service { get; }

Property Value

IPluginService

ServiceName

Gets the service name.

public string ServiceName { get; }

Property Value

string