Guest User

Untitled

a guest
Dec 11th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using System.ComponentModel.Composition;
  3. using SharedContracts;
  4.  
  5. namespace MefSimpleDemo
  6. {
  7. public class PluginRepository
  8. {
  9. [ImportMany("ICalculationService")]
  10. public IEnumerable<ICalculationService> CalculationServices { get; set; }
  11. }
  12. }
Add Comment
Please, Sign In to add comment