1 write to _spec
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (1)
HubServerProxyGenerator.Emitter.cs (1)
20_spec = spec;
25 references to _spec
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (25)
HubServerProxyGenerator.Emitter.cs (25)
25if (string.IsNullOrEmpty(_spec.GetterClassAccessibility) || 26string.IsNullOrEmpty(_spec.GetterMethodAccessibility) || 27string.IsNullOrEmpty(_spec.GetterClassName) || 28string.IsNullOrEmpty(_spec.GetterMethodName) || 29string.IsNullOrEmpty(_spec.GetterTypeParameterName) || 30string.IsNullOrEmpty(_spec.GetterHubConnectionParameterName)) 38foreach (var classSpec in _spec.Classes) 48foreach (var classSpec in _spec.Classes) 52$"{_spec.GetterNamespace}.{_spec.GetterClassName}.{classSpec.ClassTypeName}"; 54if (typeof({_spec.GetterTypeParameterName}) == typeof({fqIntfTypeName})) 56return ({_spec.GetterTypeParameterName}) ({fqIntfTypeName}) new {fqClassTypeName}({_spec.GetterHubConnectionParameterName}); 63namespace {_spec.GetterNamespace} 65{_spec.GetterClassAccessibility} static partial class {_spec.GetterClassName} 67{_spec.GetterMethodAccessibility} static partial {_spec.GetterTypeParameterName} {_spec.GetterMethodName}<{_spec.GetterTypeParameterName}>(this HubConnection {_spec.GetterHubConnectionParameterName}) 70throw new System.ArgumentException(nameof({_spec.GetterTypeParameterName})); 147namespace {_spec.GetterNamespace} 149{_spec.GetterClassAccessibility} static partial class {_spec.GetterClassName}