public void OnBeforeCompleteName( ITypeCompletionContext completionContext, DefinitionBase?definition, IDictionary <string, object?> contextData) { if (definition is T casted) { _onBeforeCompleteName?.Invoke(completionContext, casted, contextData); } }
public void OnAfterCompleteType( ITypeCompletionContext completionContext, DefinitionBase?definition, IDictionary <string, object?> contextData) => _onAfterCompleteType?.Invoke(completionContext, definition, contextData);