15 references to TryGetPromiseWrapperType
Aspire.Hosting.CodeGeneration.TypeScript (15)
AtsTypeScriptCodeGenerator.cs (12)
816if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out _)) 873if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var promiseInterfaceName, out _)) 927if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var returnPromiseInterfaceName, out _)) 1159if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var returnPromiseInterfaceName, out var returnPromiseImplementationClassName)) 1605if (_projector.TryGetPromiseWrapperType(prop.Getter!.ReturnType, out _, out var promiseImplementationClassName)) 1626if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out _, out var returnPromiseImplementationClassName)) 2351if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out var promiseImplementationClassName)) 2391if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out var promiseImplementationClassName)) 2446if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out var promiseImplementationClassName)) 2663if (_projector.TryGetPromiseWrapperType(method.ReturnType, out var returnPromiseInterfaceName, out var returnPromiseImplementationClassName)) 2776if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var returnPromiseInterfaceName, out var returnPromiseImplementationClassName)) 3112if (_projector.TryGetPromiseWrapperType(prop.Getter!.ReturnType, out _, out var propertyPromiseImplementationClassName))
TypeScriptApiProjector.cs (3)
396return TryGetPromiseWrapperType(capability.ReturnType, out var promiseInterfaceName, out _) 1200var getReturn = TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out _) 2501if (TryGetPromiseWrapperType(typeRef, out var promiseInterfaceName, out _))