PageRenderTime 41ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/V4/PrismLibrary/Desktop/Prism/Modularity/ModulesConfigurationSection.Desktop.cs

#
C# | 38 lines | 14 code | 1 blank | 23 comment | 0 complexity | 78d902e6b8c2f540fd3573af1e6bef65 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. //===================================================================================
  17. using System.Configuration;
  18. namespace Microsoft.Practices.Prism.Modularity
  19. {
  20. /// <summary>
  21. /// A <see cref="ConfigurationSection"/> for module configuration.
  22. /// </summary>
  23. public class ModulesConfigurationSection : ConfigurationSection
  24. {
  25. /// <summary>
  26. /// Gets or sets the collection of modules configuration.
  27. /// </summary>
  28. /// <value>A <seealso cref="ModuleConfigurationElementCollection"/> of <seealso cref="ModuleConfigurationElement"/>.</value>
  29. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  30. [ConfigurationProperty("", IsDefaultCollection = true, IsKey = false)]
  31. public ModuleConfigurationElementCollection Modules
  32. {
  33. get { return (ModuleConfigurationElementCollection)base[""]; }
  34. set { base[""] = value; }
  35. }
  36. }
  37. }