16 references to MetadataSerializer
Microsoft.Extensions.ApiDescription.Client (5)
GetCurrentOpenApiReference.cs (1)
29Outputs = new[] { MetadataSerializer.DeserializeMetadata(Input) };
GetOpenApiReferenceMetadata.cs (4)
108MetadataSerializer.SetMetadata(newItem, "OutputPath", outputPath); 116MetadataSerializer.SetMetadata(newItem, "ClassName", className); 122MetadataSerializer.SetMetadata(newItem, "Namespace", Namespace); 127newItem.SetMetadata("SerializedMetadata", MetadataSerializer.SerializeMetadata(newItem));
Microsoft.Extensions.ApiDescription.Client.Tests (11)
MetadataSerializerTest.cs (11)
79MetadataSerializer.SetMetadata(item, key, value); 95MetadataSerializer.SetMetadata(item.Object, key, value); 123var item = MetadataSerializer.DeserializeMetadata(input); 149var item = MetadataSerializer.DeserializeMetadata(input); 164var item = MetadataSerializer.DeserializeMetadata(input); 194var result = MetadataSerializer.SerializeMetadata(input); 211var result = MetadataSerializer.SerializeMetadata(input); 227var result = MetadataSerializer.SerializeMetadata(input); 259var result = MetadataSerializer.SerializeMetadata(input.Object); 283var result = MetadataSerializer.SerializeMetadata(input.Object); 306var result = MetadataSerializer.SerializeMetadata(input.Object);