2 instantiations of AddInToken
System.AddIn (2)
System\Addin\Hosting\AddInStore.cs (2)
627pipeline = new AddInToken(partialToken._hostAdapter, partialToken._contract, 1372pipeline = new AddInToken(partialToken._hostAdapter, partialToken._contract,
51 references to AddInToken
System.AddIn (51)
System\Addin\Hosting\ActivationWorker.cs (2)
29private AddInToken _pipeline; 34internal ActivationWorker(AddInToken pipeline)
System\Addin\Hosting\AddInActivator.cs (15)
40internal static T Activate<T>(AddInToken token, AddInSecurityLevel level) 53internal static T Activate<T>(AddInToken token, AddInSecurityLevel level, String appDomainName) 111private static AppDomain CreateDomain(AddInToken token, PermissionSet permissionSet, String appDomainName) 128private static T Activate<T>(AddInToken token, PermissionSet permissionSet, String appDomainName) 179internal static T Activate<T>(AddInToken token, AppDomain target) 192internal static T Activate<T>(AddInToken token, PermissionSet permissionSet) 211internal static T Activate<T>(AddInToken token, AddInProcess process, PermissionSet permissionSet) 241internal static T Activate<T>(AddInToken token, AddInProcess process, AddInSecurityLevel level) 248internal static T Activate<T>(AddInToken token, AddInEnvironment environment) 267private static T ActivateOutOfProcess<T>(AddInToken token, AddInEnvironment environment, bool weOwn) 304private static T ActivateInAppDomain<T>(AddInToken pipeline, AppDomain domain, AddInControllerImpl controller, bool weOwn) 312if (AddInToken.EnableDirectConnect && !weOwn && usingHostAppDomain) 379private static T AdaptToHost<T>(AddInToken pipeline, IContract addInContract) 556private static void CheckForDuplicateAssemblyProblems(AddInToken pipeline, Exception inner) 637internal ResolverHelper(AddInToken pipeline) : this(pipeline._contract)
System\Addin\Hosting\AddInController.cs (1)
76public AddInToken Token {
System\Addin\Hosting\AddInControllerImpl.cs (3)
45private AddInToken _token; 61internal AddInControllerImpl(AddInEnvironment environment, bool unloadDomainOnExit, AddInToken token) 350internal AddInToken Token {
System\Addin\Hosting\AddInServer.cs (2)
52public AddInServerWorker CreateDomain(AddInToken token, PermissionSet permissionSet) 150public IContract Activate(AddInToken pipeline, out ActivationWorker worker)
System\Addin\Hosting\AddInStore.cs (25)
442public static Collection<AddInToken> FindAddIns(Type hostViewOfAddIn, PipelineStoreLocation location) 454public static Collection<AddInToken> FindAddIns(Type hostViewOfAddIn, PipelineStoreLocation location, params String[] addInFolderPaths) 466public static Collection<AddInToken> FindAddIns(Type hostViewOfAddIn, String pipelineRootFolderPath, params String[] addInFolderPaths) 474private static Collection<AddInToken> FindAddInsImpl(Type hostViewOfAddIn, String pipelineRootFolderPath, bool demand, params String[] addInFolderPaths) 505Collection<AddInToken> collection = new Collection<AddInToken>(); 533List<AddInToken> validPipelines = ConnectPipelinesWithAddIns(partialTokens, havTypeInfo, addInState); 535foreach (AddInToken pipeline in validPipelines) 570public static Collection<AddInToken> FindAddIn(Type hostViewOfAddIn, String pipelineRootFolderPath, String addInFilePath, String addInTypeName) 620Collection<AddInToken> validPipelines = new Collection<AddInToken>(); 626AddInToken pipeline; 637AddInToken pipeline = validPipelines[i]; 1351private static List<AddInToken> ConnectPipelinesWithAddIns(List<PartialToken> partialTokens, TypeInfo havType, 1354List<AddInToken> validPipelines = new List<AddInToken>(); 1369AddInToken pipeline; 1397private static void RemoveDuplicatePipelines(ref List<AddInToken> validPipelines) 1401List<AddInToken> result = new List<AddInToken>(validPipelines.Count); 1409Dictionary<String, AddInToken> uniqueAddIns = new Dictionary<String, AddInToken>(StringComparer.OrdinalIgnoreCase); 1411foreach (AddInToken pipeline in validPipelines) 1425AddInToken dupPipeline; 1487foreach (AddInToken tok in uniqueAddIns.Values)
System\Addin\Hosting\AddInToken.cs (3)
231AddInToken thatToken = obj as AddInToken; 239bool Equals(AddInToken addInToken)