14 references to Create
Aspire.Cli.Tests (6)
Projects\ProjectUpdaterTests.cs (6)
4074properties.Add("AspireHostingSDKVersion", JsonValue.Create<string>(sdkVersion)); 4110{ "Identity", JsonValue.Create<string>(packageId) }, 4111{ "Version", JsonValue.Create<string>(packageVersion) } 4126{ "Identity", JsonValue.Create<string>(packageId) } 4142{ "FullPath", JsonValue.Create<string>(fullPath) } 4157properties.Add(propertyName, JsonValue.Create<string>(propertyValue));
Aspire.Hosting.RemoteHost (1)
Ats\AtsMarshaller.cs (1)
229return JsonValue.Create(value);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Internal\JsonObjectAdapter.cs (1)
141private static JsonValue GetJsonNull() => JsonValue.Create<object>(null);
Microsoft.ML.AutoML (6)
SweepableEstimator\Converter\MultiModelPipelineConverter.cs (1)
28jsonObject["estimators"] = JsonValue.Create(value.Estimators);
SweepableEstimator\Converter\SweepableEstimatorConverter.cs (2)
30jObject["estimatorType"] = JsonValue.Create(value.EstimatorType); 31jObject["parameter"] = JsonValue.Create(value.Parameter);
SweepableEstimator\Converter\SweepableEstimatorPipelineConverter.cs (2)
30jNode["parameter"] = JsonValue.Create(parameter); 31jNode["estimators"] = JsonValue.Create(estimators);
SweepableEstimator\Converter\SweepablePipelineConverter.cs (1)
30jsonObject["estimators"] = JsonValue.Create(value.Estimators);