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