C# [QueryMetadata(Name = "Coho Auto", Description = "Nothing beats a good price on a Coho. We can't keep these things in stock.", ImagePath = "Images/coho.jpg")] public class CohoQuery : CarQueryBase { // Removed code ... } (Code Snippet Intro to MEF Lab - Ex2 Task2 Step5 - CohoQueryMetadata VB) – Visual <QueryMetadata(Name:="Coho Auto", Description:="Nothing beats a good price on a Coho. We can't keep these things in stock.", ImagePath:="Images/coho.jpg")> Public Class CohoQuery Inherits CarQueryBase // Removed code ... End You will repeat the same process on the FabrikamQuery class. To do this, remove the constructor and replace the class definition in the FabrikamQuery class. (Code Snippet Intro to MEF Lab - Ex2 Task2 Step6 - FabrikamQueryMetadata CSharp) – C# [QueryMetadata(Name = "Fabrikam Company", Description = "Low Mileage, Low Price FMCs that have wonderful resell value.", ImagePath = "Images/fabrikam.jpg")] public class FabrikamQuery: CarQueryBase { // Removed code ... } (Code Snippet Intro to MEF Lab - Ex2 Task2 Step6 - FabrikamQueryMetadata VB) – Visual Basic
C# [QueryMetadata(Name = "Coho Auto", Description = "Nothing beats a good price on a Coho. We can't keep these things in stock.", ImagePath = "Images/coho.jpg")] public class CohoQuery : CarQueryBase { // Removed code ... } (Code Snippet – Intro to MEF Lab - Ex2 Task2 Step5 - CohoQueryMetadata VB) Visual <QueryMetadata(Name:="Coho Auto", Description:="Nothing beats a good price on a Coho. We can't keep these things in stock.", ImagePath:="Images/coho.jpg")> Public Class CohoQuery Inherits CarQueryBase // Removed code ... End You will repeat the same process on the FabrikamQuery class. To do this, remove the constructor and replace the class definition in the FabrikamQuery class. (Code Snippet – Intro to MEF Lab - Ex2 Task2 Step6 - FabrikamQueryMetadata CSharp) C# [QueryMetadata(Name = "Fabrikam Company", Description = "Low Mileage, Low Price FMCs that have wonderful resell value.", ImagePath = "Images/fabrikam.jpg")] public class FabrikamQuery: CarQueryBase { // Removed code ... } (Code Snippet – Intro to MEF Lab - Ex2 Task2 Step6 - FabrikamQueryMetadata VB) Visual Basic
IntroToMEF.docx