6 instantiations of ActivationContext
mscorlib (6)
system\activationarguments.cs (2)
105
return new
ActivationContext
(new ApplicationIdentity(m_appFullName));
107
return new
ActivationContext
(new ApplicationIdentity(m_appFullName), m_appManifestPaths);
system\activationcontext.cs (2)
193
return new
ActivationContext
(identity);
200
return new
ActivationContext
(identity, manifestPaths);
system\deployment\cmsutils.cs (2)
144
activationContext = new
ActivationContext
(applicationIdentity, manifestPaths);
146
activationContext = new
ActivationContext
(applicationIdentity);
63 references to ActivationContext
mscorlib (43)
system\activationarguments.cs (3)
64
public ActivationArguments (
ActivationContext
activationData) : this (activationData, null) {}
67
public ActivationArguments (
ActivationContext
activationContext, string[] activationData) {
97
public
ActivationContext
ActivationContext {
system\activationcontext.cs (10)
191
public static
ActivationContext
CreatePartialActivationContext(ApplicationIdentity identity)
198
public static
ActivationContext
CreatePartialActivationContext(ApplicationIdentity identity, string[] manifestPaths)
570
public static object /* really ICMS */ GetActivationContextData(
ActivationContext
appInfo)
576
public static object GetApplicationComponentManifest(
ActivationContext
appInfo)
582
public static object GetDeploymentComponentManifest(
ActivationContext
appInfo)
587
public static void PrepareForExecution(
ActivationContext
appInfo)
592
public static bool IsFirstRun(
ActivationContext
appInfo)
594
return (appInfo.LastApplicationStateResult ==
ActivationContext
.ApplicationStateDisposition.RunningFirstTime);
597
public static byte[] GetApplicationManifestBytes(
ActivationContext
appInfo)
606
public static byte[] GetDeploymentManifestBytes(
ActivationContext
appInfo)
system\activator.cs (2)
600
public static ObjectHandle CreateInstance (
ActivationContext
activationContext) {
609
public static ObjectHandle CreateInstance (
ActivationContext
activationContext, string[] activationCustomData) {
system\appdomain.cs (7)
313
private
ActivationContext
_activationContext;
917
ActivationContext
activationContext = null;
1035
private void SetupApplicationHelper (Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, ApplicationIdentity appIdentity,
ActivationContext
activationContext, string[] activationData) {
1053
private void SetupDomainForApplication(
ActivationContext
activationContext, string[] activationData) {
1073
activationContext.SetApplicationState(
ActivationContext
.ApplicationState.Starting);
1075
activationContext.SetApplicationState(
ActivationContext
.ApplicationState.Running);
2632
public
ActivationContext
ActivationContext {
system\AppDomainSetup.cs (1)
208
public AppDomainSetup (
ActivationContext
activationContext) : this (new ActivationArguments(activationContext)) {}
system\applicationactivator.cs (3)
45
internal ManifestRunner (AppDomain domain,
ActivationContext
activationContext) {
122
public virtual ObjectHandle CreateInstance (
ActivationContext
activationContext) {
129
public virtual ObjectHandle CreateInstance (
ActivationContext
activationContext, string[] activationCustomData) {
system\deployment\cmsutils.cs (9)
21
internal static void GetEntryPoint (
ActivationContext
activationContext, out string fileName, out string parameters) {
52
internal static IAssemblyReferenceEntry[] GetDependentAssemblies(
ActivationContext
activationContext)
82
internal static string GetEntryPointFullPath (
ActivationContext
activationContext)
102
internal static bool CompareIdentities (
ActivationContext
activationContext1,
ActivationContext
activationContext2) {
125
internal static string GetFriendlyName (
ActivationContext
activationContext) {
139
internal static void CreateActivationContext (string fullName, string[] manifestPaths, bool useFusionActivationContext, out ApplicationIdentity applicationIdentity, out
ActivationContext
activationContext) {
162
internal static Evidence MergeApplicationEvidence (Evidence evidence, ApplicationIdentity applicationIdentity,
ActivationContext
activationContext, string[] activationData)
173
ActivationContext
activationContext,
system\io\isolatedstorage\isolatedstorage.cs (1)
641
ActivationContext
activationContext = AppDomain.CurrentDomain.ActivationContext;
system\io\isolatedstorage\isolatedstoragefile.cs (1)
1628
ActivationContext
activationContext = AppDomain.CurrentDomain.ActivationContext;
system\security\hostsecuritymanager.cs (1)
113
ActivationContext
actCtx = activationArgs.ActivationContext;
system\security\policy\applicationsecurityinfo.cs (2)
36
private
ActivationContext
m_context;
48
public ApplicationSecurityInfo (
ActivationContext
activationContext) {
system\security\policy\applicationsecuritymanager.cs (2)
38
public static bool DetermineApplicationTrust (
ActivationContext
activationContext, TrustManagerContext context) {
91
internal static ApplicationTrust DetermineApplicationTrustInternal (
ActivationContext
activationContext, TrustManagerContext context) {
system\security\policy\iapplicationtrustmanager.cs (1)
22
ApplicationTrust DetermineApplicationTrust (
ActivationContext
activationContext, TrustManagerContext context);
PresentationFramework (5)
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
251
public override ObjectHandle CreateInstance(
ActivationContext
actCtx)
src\Framework\MS\Internal\AppModel\XappLauncher.cs (2)
271
_context = System.
ActivationContext
.CreatePartialActivationContext(_identity);
1298
System.
ActivationContext
_context;
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
1366
_context =
ActivationContext
.CreatePartialActivationContext(GetApplicationIdentity(), new string[] {_deploymentManifestPath, _applicationManifestPath});
1454
ActivationContext
_context;
System (3)
sys\system\configuration\ApplicationSettingsBase.cs (3)
673
ActivationContext
actCtx = AppDomain.CurrentDomain.ActivationContext;
695
ActivationContext
actCtx = appDomain.ActivationContext;
698
if (actCtx != null && actCtx.Form ==
ActivationContext
.ContextForm.StoreBounded) {
System.Configuration (2)
System\Configuration\ClientConfigPaths.cs (2)
430
ActivationContext
actCtx = appDomain.ActivationContext;
433
if (actCtx != null && actCtx.Form ==
ActivationContext
.ContextForm.StoreBounded) {
System.Core (4)
System\Security\Cryptography\ManifestSignatureInformation.cs (4)
67
private static XmlDocument GetManifestXml(
ActivationContext
application, ManifestKinds manifest) {
103
public static ManifestSignatureInformationCollection VerifySignature(
ActivationContext
application) {
110
public static ManifestSignatureInformationCollection VerifySignature(
ActivationContext
application,
122
public static ManifestSignatureInformationCollection VerifySignature(
ActivationContext
application,
System.Windows.Forms (6)
winforms\Managed\System\WinForms\TrustManager.cs (6)
49
public ApplicationTrust DetermineApplicationTrust(
ActivationContext
activationContext, TrustManagerContext trustManagerContext)
456
private static ApplicationTrust BasicInstallPrompt(
ActivationContext
activationContext,
530
private static ApplicationTrust CreateApplicationTrust(
ActivationContext
activationContext,
831
private static ApplicationTrust HighRiskPrompt(
ActivationContext
activationContext,
864
private static ApplicationTrust BlockingPrompt(
ActivationContext
activationContext,
966
private static bool SearchPreviousTrustedVersion(
ActivationContext
activationContext,