4 references to TypeId
Aspire.Hosting.Native.CodeGeneration (4)
NativeProviderProjection.cs (4)
72
["targetTypeId"] = method.IsStatic ? null :
TypeId
(method.DeclaringType!),
129
code.AppendLine(CultureInfo.InvariantCulture, $" internal {resource.Name}Client(NativeClient client, JsonElement handle) : base(client, handle, {Quote(
TypeId
(resource))}) {{ }}");
183
JsonObject TypeRef(Type type) => new() { ["typeId"] =
TypeId
(type), ["category"] = IsHandle(type) ? "Handle" : "Primitive" };
200
IsResource(type) && provider ? $"context.PublishResource({expression}, {Quote(
TypeId
(type))})" :