2 instantiations of Integration
aspire (2)
JsonSourceGenerationContext.Integration.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Mcp.
Integration
(){ Name = (string)args[0], PackageId = (string)args[1], Version = (string)args[2] },
Mcp\ListIntegrationsTool.cs (1)
119
.Select(p => new
Integration
47 references to Integration
aspire (47)
JsonSourceGenerationContext.cs (1)
14
[JsonSerializable(typeof(
Integration
))]
JsonSourceGenerationContext.GetJsonTypeInfo.g.cs (2)
26
if (type == typeof(global::Aspire.Cli.Mcp.
Integration
))
34
if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>))
JsonSourceGenerationContext.Integration.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Mcp.
Integration
>? _Integration;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Mcp.
Integration
> Integration
22
get => _Integration ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Mcp.
Integration
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Mcp.
Integration
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Mcp.
Integration
> Create_Integration(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Mcp.
Integration
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Mcp.
Integration
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Mcp.
Integration
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Mcp.
Integration
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Mcp.
Integration
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Mcp.
Integration
),
58
Getter = static obj => ((global::Aspire.Cli.Mcp.
Integration
)obj).Name,
59
Setter = static (obj, value) => ((global::Aspire.Cli.Mcp.
Integration
)obj).Name = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Mcp.
Integration
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Aspire.Cli.Mcp.
Integration
),
81
Getter = static obj => ((global::Aspire.Cli.Mcp.
Integration
)obj).PackageId,
82
Setter = static (obj, value) => ((global::Aspire.Cli.Mcp.
Integration
)obj).PackageId = value!,
89
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Mcp.
Integration
).GetProperty("PackageId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Aspire.Cli.Mcp.
Integration
),
104
Getter = static obj => ((global::Aspire.Cli.Mcp.
Integration
)obj).Version,
105
Setter = static (obj, value) => ((global::Aspire.Cli.Mcp.
Integration
)obj).Version = value!,
112
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Mcp.
Integration
).GetProperty("Version", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
125
private void IntegrationSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Mcp.
Integration
? value)
135
writer.WriteString(PropName_name, ((global::Aspire.Cli.Mcp.
Integration
)value).Name);
136
writer.WriteString(PropName_packageId, ((global::Aspire.Cli.Mcp.
Integration
)value).PackageId);
137
writer.WriteString(PropName_version, ((global::Aspire.Cli.Mcp.
Integration
)value).Version);
JsonSourceGenerationContext.ListIntegration.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>>? _ListIntegration;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>> ListIntegration
22
get => _ListIntegration ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>> Create_ListIntegration(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>, global::Aspire.Cli.Mcp.
Integration
>(options, info);
45
private void ListIntegrationSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>? value)
JsonSourceGenerationContext.ListIntegrationsResponse.g.cs (5)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Mcp.ListIntegrationsResponse(){ Integrations = (global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>)args[0] },
51
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>>
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Mcp.ListIntegrationsResponse).GetProperty("Integrations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>), global::System.Array.Empty<global::System.Type>(), null),
69
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>>(options, info0);
100
ParameterType = typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Mcp.
Integration
>),
Mcp\ListIntegrationsTool.cs (1)
46
public required List<
Integration
> Integrations { get; set; }