PageRenderTime 21ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/V4/Quickstarts/Modularity/Silverlight/ModularityWithMef/ModularityWithMef.Silverlight/DiscoveryMethod.cs

#
C# | 44 lines | 10 code | 3 blank | 31 comment | 0 complexity | 3a7793fc29f0509d86c4af5eb09b87c2 MD5 | raw file
 1//===================================================================================
 2// Microsoft patterns & practices
 3// Composite Application Guidance for Windows Presentation Foundation and Silverlight
 4//===================================================================================
 5// Copyright (c) Microsoft Corporation.  All rights reserved.
 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
 7// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
 8// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 9// FITNESS FOR A PARTICULAR PURPOSE.
10//===================================================================================
11// The example companies, organizations, products, domain names,
12// e-mail addresses, logos, people, places, and events depicted
13// herein are fictitious.  No association with any real company,
14// organization, product, domain name, email address, logo, person,
15// places, or events is intended or should be inferred.
16//===================================================================================
17namespace ModularityWithMef.Silverlight
18{
19    /// <summary>
20    /// Describes how a module is discovered.
21    /// </summary>
22    public enum DiscoveryMethod
23    {
24        /// <summary>
25        /// The module is directly referenced by the application.
26        /// </summary>
27        ApplicationReference,
28
29        /// <summary>
30        /// The module is listed in a XAML manifest file.
31        /// </summary>
32        XamlManifest,
33
34        /// <summary>
35        /// The module is listed in a configuration file.
36        /// </summary>
37        ConfigurationManifest,
38
39        /// <summary>
40        /// The module is discovered by examining the assemblies in a directory.
41        /// </summary>
42        DirectorySweep
43    }
44}