PageRenderTime 46ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/stable-1.2.0/Powershell/Installer.cs

#
C# | 46 lines | 31 code | 7 blank | 8 comment | 0 complexity | c0b62533073c63a5acd0d9961c3f95e8 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. //-----------------------------------------------------------------------
  2. // <copyright>
  3. // Copyright (C) Ruslan Yakushev for the PHP Manager for IIS project.
  4. //
  5. // This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
  6. // See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
  7. // </copyright>
  8. //-----------------------------------------------------------------------
  9. using System;
  10. using System.ComponentModel;
  11. using System.Management.Automation;
  12. namespace Web.Management.PHP.Powershell
  13. {
  14. [RunInstaller(true)]
  15. public class Installer : PSSnapIn
  16. {
  17. public override string Description
  18. {
  19. get
  20. {
  21. return Resources.SnapInDescription;
  22. }
  23. }
  24. public override string Name
  25. {
  26. get
  27. {
  28. return "PHPManagerSnapin";
  29. }
  30. }
  31. public override string Vendor
  32. {
  33. get
  34. {
  35. return Resources.SnapInVendor;
  36. }
  37. }
  38. }
  39. }