Class AssemblySourceAttribute
- Namespace
- Gemini
- Assembly
- Gemini.dll
Specifies, that the marked assembly have to be add to Caliburn.Micro.AssemblySource.Instance.
[AttributeUsage(AttributeTargets.Assembly)]
public class AssemblySourceAttribute : Attribute, _Attribute
- Inheritance
-
AssemblySourceAttribute
- Implements
- Inherited Members
Examples
Add this line to the AssemblyInfo.cs file:
[assembly: Gemini.AssemblySource]
Remarks
Views defined in an assembly without a MEF export, can not be located by the Caliburn.Micro view locator. Therefore, add the AssemblySourceAttribute to the AssemblyInfo.cs file.