The Labs \ Source Viewer \ SSCLI \ System.Runtime.Hosting \ ActivationArguments

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. namespace System.Runtime.Hosting
  16. {
  17.     [Serializable()]
  18.     [System.Runtime.InteropServices.ComVisible(true)]
  19.     public sealed class ActivationArguments
  20.     {
  21.         private ActivationArguments()
  22.         {
  23.         }
  24.        
  25.         // This boolean is used to smuggle the information about whether
  26.         // AppDomainSetup was constructed from an ActivationContext.
  27.         private bool m_useFusionActivationContext = false;
  28.         internal bool UseFusionActivationContext {
  29.             get { return m_useFusionActivationContext; }
  30.         }
  31.        
  32.         // This is used to indicate whether the instance is to be activated
  33.         // during the new domain's initialization. CreateInstanceHelper sets
  34.         // this flag to true; CreateDomainHelper never activates the application.
  35.         private bool m_activateInstance = false;
  36.         internal bool ActivateInstance {
  37.             get { return m_activateInstance; }
  38.             set { m_activateInstance = value; }
  39.         }
  40.        
  41.         private string m_appFullName;
  42.         internal string ApplicationFullName {
  43.             get { return m_appFullName; }
  44.         }
  45.        
  46.         private string[] m_appManifestPaths;
  47.         internal string[] ApplicationManifestPaths {
  48.             get { return m_appManifestPaths; }
  49.         }
  50.        
  51.        
  52.         private string[] m_activationData;
  53.         public string[] ActivationData {
  54.             get { return m_activationData; }
  55.         }
  56.     }
  57. }

Developer Fusion