4 instantiations of TaskFactoryWrapper
Microsoft.Build (3)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
918
returnClass = new
TaskFactoryWrapper
(new IntrinsicTaskFactory(typeof(MSBuild)), new LoadedType(typeof(MSBuild), AssemblyLoadInfo.Create(taskExecutionHostAssembly.FullName, null), taskExecutionHostAssembly, typeof(ITaskItem)), _taskName, null);
924
returnClass = new
TaskFactoryWrapper
(new IntrinsicTaskFactory(typeof(CallTarget)), new LoadedType(typeof(CallTarget), AssemblyLoadInfo.Create(taskExecutionHostAssembly.FullName, null), taskExecutionHostAssembly, typeof(ITaskItem)), _taskName, null);
Instance\TaskRegistry.cs (1)
1549
_taskFactoryWrapperInstance = new
TaskFactoryWrapper
(factory, loadedType, RegisteredName, TaskFactoryParameters);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1253
(_host as TaskExecutionHost)._UNITTESTONLY_TaskFactoryWrapper = new
TaskFactoryWrapper
(taskFactory, loadedType, taskName, null);
12 references to TaskFactoryWrapper
Microsoft.Build (12)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
424
(TaskRequirements? requirements,
TaskFactoryWrapper
taskFactoryWrapper) = _taskExecutionHost.FindTask(taskIdentityParameters);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (7)
130
private
TaskFactoryWrapper
_taskFactoryWrapper;
157
private readonly Dictionary<string,
TaskFactoryWrapper
> _intrinsicTasks = new Dictionary<string,
TaskFactoryWrapper
>(StringComparer.OrdinalIgnoreCase);
213
internal
TaskFactoryWrapper
_UNITTESTONLY_TaskFactoryWrapper
269
public (TaskRequirements? requirements,
TaskFactoryWrapper
taskFactoryWrapper) FindTask(IDictionary<string, string> taskIdentityParameters)
859
private
TaskFactoryWrapper
FindTaskInRegistry(IDictionary<string, string> taskIdentityParameters)
861
if (!_intrinsicTasks.TryGetValue(_taskName, out
TaskFactoryWrapper
returnClass))
Instance\TaskRegistry.cs (4)
458
internal
TaskFactoryWrapper
GetRegisteredTask(
469
TaskFactoryWrapper
taskFactory = null;
1137
private
TaskFactoryWrapper
_taskFactoryWrapperInstance;
1355
internal
TaskFactoryWrapper
GetTaskFactoryFromRegistrationRecord(string taskName, string taskProjectFile, IDictionary<string, string> taskIdentityParameters, TargetLoggingContext targetLoggingContext, ElementLocation elementLocation)