9 references to TypeMetadata
Microsoft.AspNetCore.Components.Endpoints (9)
FormMapping\Metadata\FormDataMetadataFactory.cs (9)
53
var result = _context.
TypeMetadata
.TryGetValue(type, out var value) ? value : new FormDataTypeMetadata(type);
57
_context.
TypeMetadata
[type] = result;
67
_context.
TypeMetadata
.Remove(type);
131
_context.
TypeMetadata
.Remove(type);
156
_context.
TypeMetadata
.Remove(type);
178
_context.
TypeMetadata
.Remove(type);
228
_context.
TypeMetadata
.Remove(type);
267
internal bool HasMetadataFor(Type type) => _context.
TypeMetadata
.ContainsKey(type);
294
var existingType = _context.
TypeMetadata
[_context.CurrentTypes[i]];