15 references to TryGetPromiseWrapperType
Aspire.Hosting.CodeGeneration.TypeScript (15)
AtsTypeScriptCodeGenerator.cs (12)
791if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out _)) 848if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var promiseInterfaceName, out _)) 902if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var returnPromiseInterfaceName, out _)) 1134if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var returnPromiseInterfaceName, out var returnPromiseImplementationClassName)) 1580if (_projector.TryGetPromiseWrapperType(prop.Getter!.ReturnType, out _, out var promiseImplementationClassName)) 1601if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out _, out var returnPromiseImplementationClassName)) 2316if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out var promiseImplementationClassName)) 2356if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out var promiseImplementationClassName)) 2411if (_projector.TryGetPromiseWrapperType(getter.ReturnType, out var promiseInterfaceName, out var promiseImplementationClassName)) 2628if (_projector.TryGetPromiseWrapperType(method.ReturnType, out var returnPromiseInterfaceName, out var returnPromiseImplementationClassName)) 2741if (_projector.TryGetPromiseWrapperType(capability.ReturnType, out var returnPromiseInterfaceName, out var returnPromiseImplementationClassName)) 3058if (_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 _))