MEF 2.0 - mini series: part 5 (Fluent export properties)

added by bnaya
1/15/2013 12:07:18 AM

0 Kicks, 80 Views

Exporting properties is a less known feature of MEF. MEF 1 was supporting this feature by using the attribute model. you could decorate a property with a [Export] attribute and then it become available for imports. the following code demonstrate property exporting in MEF 1: