1 write to _spec
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (1)
HubClientProxyGenerator.Emitter.cs (1)
20_spec = spec;
26 references to _spec
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (26)
HubClientProxyGenerator.Emitter.cs (26)
25if (string.IsNullOrEmpty(_spec.SetterClassAccessibility) || 26string.IsNullOrEmpty(_spec.SetterMethodAccessibility) || 27string.IsNullOrEmpty(_spec.SetterClassName) || 28string.IsNullOrEmpty(_spec.SetterMethodName) || 29string.IsNullOrEmpty(_spec.SetterTypeParameterName) || 30string.IsNullOrEmpty(_spec.SetterHubConnectionParameterName)) 38foreach (var typeSpec in _spec.Types) 49foreach (var typeSpec in _spec.Types) 54if (typeof({_spec.SetterTypeParameterName}) == typeof({fqtn})) 56return (System.IDisposable) new CallbackProviderRegistration({methodName}({_spec.SetterHubConnectionParameterName}, ({fqtn}) {_spec.SetterProviderParameterName})); 67namespace {_spec.SetterNamespace} 69{_spec.SetterClassAccessibility} static partial class {_spec.SetterClassName} 71{_spec.SetterMethodAccessibility} static partial System.IDisposable {_spec.SetterMethodName}<{_spec.SetterTypeParameterName}>(this HubConnection {_spec.SetterHubConnectionParameterName}, {_spec.SetterTypeParameterName} {_spec.SetterProviderParameterName}) 73if ({_spec.SetterProviderParameterName} is null) 75throw new System.ArgumentNullException(""{_spec.SetterProviderParameterName}""); 78throw new System.ArgumentException(nameof({_spec.SetterTypeParameterName})); 134namespace {_spec.SetterNamespace} 136{_spec.SetterClassAccessibility} static partial class {_spec.SetterClassName}