Example #1
0
 private static object CreateStronglyTypedPartCreatorOfTM <T, M>(Export export)
 {
     return(new PartCreator <T, M>(
                () => ExportServices.GetPartLifetimeContextFromExport <T>(export),
                AttributedModelServices.GetMetadataView <M>(export.Metadata)));
 }
Example #2
0
 private static object CreateStronglyTypedPartCreatorOfT <T>(Export export)
 {
     return(new PartCreator <T>(
                () => ExportServices.GetPartLifetimeContextFromExport <T>(export)));
 }