Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections.Generic;
- using System.ComponentModel.Composition;
- using SharedContracts;
- namespace MefSimpleDemo
- {
- public class PluginRepository
- {
- [ImportMany("ICalculationService")]
- public IEnumerable<ICalculationService> CalculationServices { get; set; }
- }
- }
Add Comment
Please, Sign In to add comment