14 instantiations of LogLineJson
aspire (3)
Commands\LogsCommand.cs (2)
215
Logs = logLines.Select(l => new
LogLineJson
323
var logLineJson = new
LogLineJson
LogsCommandJsonContext.LogLineJson.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Commands.
LogLineJson
(){ ResourceName = (string)args[0], Content = (string)args[1], IsError = (bool)args[2] },
Aspire.Cli.Tests (11)
Commands\LogsCommandTests.cs (11)
33
var logLine = new
LogLineJson
60
var logLine = new
LogLineJson
79
var logLine = new
LogLineJson
98
var logLine = new
LogLineJson
274
new
LogLineJson
{ ResourceName = "frontend", Content = "Starting...", IsError = false },
275
new
LogLineJson
{ ResourceName = "frontend", Content = "Ready", IsError = false },
276
new
LogLineJson
{ ResourceName = "backend", Content = "Error occurred", IsError = true }
316
new
LogLineJson
{ ResourceName = "frontend", Content = "Line 1", IsError = false },
317
new
LogLineJson
{ ResourceName = "frontend", Content = "Line 2", IsError = false },
318
new
LogLineJson
{ ResourceName = "backend", Content = "Error", IsError = true }
342
var logLine = new
LogLineJson
54 references to LogLineJson
aspire (44)
Commands\LogsCommand.cs (3)
35
public required
LogLineJson
[] Logs { get; init; }
38
[JsonSerializable(typeof(
LogLineJson
))]
323
var
logLineJson = new LogLineJson
LogsCommandJsonContext.GetJsonTypeInfo.g.cs (2)
26
if (type == typeof(global::Aspire.Cli.Commands.
LogLineJson
))
30
if (type == typeof(global::Aspire.Cli.Commands.
LogLineJson
[]))
LogsCommandJsonContext.LogLineJson.g.cs (23)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
>? _LogLineJson;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
> LogLineJson
22
get => _LogLineJson ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.
LogLineJson
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
> Create_LogLineJson(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.
LogLineJson
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.
LogLineJson
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
LogLineJson
).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.Commands.
LogLineJson
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.
LogLineJson
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.
LogLineJson
)obj).ResourceName,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
LogLineJson
).GetProperty("ResourceName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Aspire.Cli.Commands.
LogLineJson
),
81
Getter = static obj => ((global::Aspire.Cli.Commands.
LogLineJson
)obj).Content,
89
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
LogLineJson
).GetProperty("Content", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Aspire.Cli.Commands.
LogLineJson
),
104
Getter = static obj => ((global::Aspire.Cli.Commands.
LogLineJson
)obj).IsError,
112
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
LogLineJson
).GetProperty("IsError", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
123
private void LogLineJsonSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.
LogLineJson
? value)
133
string __value_ResourceName = ((global::Aspire.Cli.Commands.
LogLineJson
)value).ResourceName;
138
string __value_Content = ((global::Aspire.Cli.Commands.
LogLineJson
)value).Content;
143
writer.WriteBoolean(PropName_isError, ((global::Aspire.Cli.Commands.
LogLineJson
)value).IsError);
LogsCommandJsonContext.LogLineJsonArray.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
[]>? _LogLineJsonArray;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
[]> LogLineJsonArray
22
get => _LogLineJsonArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
[]>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.
LogLineJson
[]));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
[]> Create_LogLineJsonArray(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.
LogLineJson
[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
LogLineJson
[]> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Cli.Commands.
LogLineJson
[]>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Cli.Commands.
LogLineJson
>(options, info);
45
private void LogLineJsonArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.
LogLineJson
[]? value)
LogsCommandJsonContext.LogsOutput.g.cs (6)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Commands.LogsOutput(){ Logs = (global::Aspire.Cli.Commands.
LogLineJson
[])args[0] },
51
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Cli.Commands.
LogLineJson
[]>
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.LogsOutput).GetProperty("Logs", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Commands.
LogLineJson
[]), global::System.Array.Empty<global::System.Type>(), null),
69
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Cli.Commands.
LogLineJson
[]>(options, info0);
89
global::Aspire.Cli.Commands.
LogLineJson
[] __value_Logs = ((global::Aspire.Cli.Commands.LogsOutput)value).Logs;
104
ParameterType = typeof(global::Aspire.Cli.Commands.
LogLineJson
[]),
Aspire.Cli.Tests (10)
Commands\LogsCommandTests.cs (10)
33
var
logLine = new LogLineJson
49
var
deserialized = JsonSerializer.Deserialize(json, LogsCommandJsonContext.Ndjson.LogLineJson);
60
var
logLine = new LogLineJson
79
var
logLine = new LogLineJson
89
var
deserialized = JsonSerializer.Deserialize(json, LogsCommandJsonContext.Ndjson.LogLineJson);
98
var
logLine = new LogLineJson
106
var
deserialized = JsonSerializer.Deserialize(json, LogsCommandJsonContext.Ndjson.LogLineJson);
292
var
deserialized = JsonSerializer.Deserialize(line, LogsCommandJsonContext.Ndjson.LogLineJson);
342
var
logLine = new LogLineJson
362
var
deserialized = JsonSerializer.Deserialize(json, LogsCommandJsonContext.Ndjson.LogLineJson);