13 references to MetadataViewGenerator
System.ComponentModel.Composition (13)
System\ComponentModel\Composition\MetadataViewGenerator.cs (2)
119
typeof(MetadataViewFactory), generatedProxyType.GetMethod(
MetadataViewGenerator
.MetadataViewFactoryName, BindingFlags.Public | BindingFlags.Static)!);
369
MethodBuilder factoryMethodBuilder = proxyTypeBuilder.DefineMethod(
MetadataViewGenerator
.MetadataViewFactoryName, MethodAttributes.Public | MethodAttributes.Static, typeof(object), CtorArgumentTypes);
System\ComponentModel\Composition\MetadataViewProvider.cs (11)
30
MetadataViewGenerator
.MetadataViewFactory? metadataViewFactory = null;
37
metadataViewFactory =
MetadataViewGenerator
.GetMetadataViewFactory(metadataViewType);
77
return
MetadataViewGenerator
.CreateMetadataView<TMetadataView>(metadataViewFactory, metadata);
105
ex.InnerException.Data[
MetadataViewGenerator
.MetadataViewType],
106
ex.InnerException.Data[
MetadataViewGenerator
.MetadataItemKey],
107
ex.InnerException.Data[
MetadataViewGenerator
.MetadataItemValue],
108
ex.InnerException.Data[
MetadataViewGenerator
.MetadataItemSourceType],
109
ex.InnerException.Data[
MetadataViewGenerator
.MetadataItemTargetType]), ex);
116
ex.InnerException.Data[
MetadataViewGenerator
.MetadataViewType],
117
ex.InnerException.Data[
MetadataViewGenerator
.MetadataItemKey],
118
ex.InnerException.Data[
MetadataViewGenerator
.MetadataItemTargetType]), ex);