Class EventType<TParams>
Defines an event type with a particular method name.
Inheritance
System.Object
                  EventType<TParams>
              Namespace:Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class EventType<TParams>Properties
| Improve this Doc View SourceMethodName
Gets the method name for the event type.
Declaration
public string MethodName { get; }| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceCreate(String)
Creates an EventType instance with the given parameter type and method name.
Declaration
public static EventType<TParams> Create(string methodName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | methodName | The method name of the event. | 
Returns
| Type | Description | 
|---|---|
| EventType<TParams> | A new EventType instance for the defined type. |