private IDictionary <string, object> VisitPart(ComposablePartDefinition def)
        {
            var context = new DecoratedPart(def);

            PartMetadataDecorator(context);
            return(context.NewMetadata);
        }
Esempio n. 2
0
 private static void PartDecorator(DecoratedPart context)
 {
     DecorateMetadata(context.PartType.Value, context.NewMetadata);
 }
Esempio n. 3
0
 private static void PartDecorator(DecoratedPart context)
 {
     DecorateMetadata(context.PartType.Value, context.NewMetadata);
 }
 private IDictionary<string, object> VisitPart(ComposablePartDefinition def)
 {
     var context = new DecoratedPart(def);
     PartMetadataDecorator(context);
     return context.NewMetadata;
 }