1 type derived from TaskPropertyInfo
Microsoft.Build.Framework (1)
ReflectableTaskPropertyInfo.cs (1)
16
internal class ReflectableTaskPropertyInfo :
TaskPropertyInfo
3 instantiations of TaskPropertyInfo
Microsoft.Build (2)
Instance\TaskRegistry.cs (2)
1823
UsingTaskParameters.Add(parameter.Name, new
TaskPropertyInfo
(parameter.Name, paramType, output, required));
1867
taskPropertyInfo = new
TaskPropertyInfo
(name, propertyType, output, required);
Microsoft.Build.Tasks.Core (1)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
213
.Select(i => new
TaskPropertyInfo
(
61 references to TaskPropertyInfo
Microsoft.Build (42)
BackEnd\Components\RequestBuilder\IntrinsicTasks\IntrinsicTaskFactory.cs (3)
48
public bool Initialize(string taskName, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
61
public
TaskPropertyInfo
[] GetTaskParameters()
64
var propertyInfos = new
TaskPropertyInfo
[infos.Length];
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (14)
493
TaskPropertyInfo
parameter = _taskFactoryWrapper.GetProperty(parameterName);
494
foreach (
TaskPropertyInfo
prop in _taskFactoryWrapper.TaskFactoryLoadedType.Properties)
759
private bool SetTaskItemParameter(
TaskPropertyInfo
parameter, ITaskItem item)
767
private bool SetValueParameter(
TaskPropertyInfo
parameter, Type parameterType, string expandedParameterValue)
787
private bool SetParameterArray(
TaskPropertyInfo
parameter, Type parameterType, IList<TaskItem> taskItems, ElementLocation parameterLocation)
863
private ITaskItem[] GetItemOutputs(
TaskPropertyInfo
parameter)
878
private string[] GetValueOutputs(
TaskPropertyInfo
parameter)
1131
TaskPropertyInfo
parameter = null;
1230
TaskPropertyInfo
parameter,
1313
private void EnsureParameterInitialized(
TaskPropertyInfo
parameter, Lookup lookup)
1358
TaskPropertyInfo
parameter,
1397
TaskPropertyInfo
parameter,
1471
private void GatherTaskItemOutputs(bool outputTargetIsItem, string outputTargetName, ITaskItem[] outputs, ElementLocation parameterLocation,
TaskPropertyInfo
parameter)
1637
private void GatherArrayStringAndValueOutputs(bool outputTargetIsItem, string outputTargetName, string[] outputs, ElementLocation parameterLocation,
TaskPropertyInfo
parameter)
Instance\TaskFactories\AssemblyTaskFactory.cs (5)
112
public bool Initialize(string taskName, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
137
public bool Initialize(string taskName, IDictionary<string, string> factoryIdentityParameters, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
146
public
TaskPropertyInfo
[] GetTaskParameters()
245
IDictionary<string,
TaskPropertyInfo
> taskParameters,
782
public bool Initialize(string taskName, TaskHostParameters factoryIdentityParameters, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
Instance\TaskFactories\TaskHostTask.cs (2)
253
public void SetPropertyValue(
TaskPropertyInfo
property, object value)
261
public object GetPropertyValue(
TaskPropertyInfo
property)
Instance\TaskFactoryWrapper.cs (12)
40
public readonly IReadOnlyDictionary<string,
TaskPropertyInfo
> PropertyInfoCache;
46
IReadOnlyDictionary<string,
TaskPropertyInfo
> propertyInfoCache)
180
public
TaskPropertyInfo
? GetProperty(string propertyName)
182
TaskPropertyInfo
? propertyInfo;
202
internal void SetPropertyValue(ITask task,
TaskPropertyInfo
property, object value)
222
internal object? GetPropertyValue(ITask task,
TaskPropertyInfo
property)
264
Dictionary<string,
TaskPropertyInfo
>? propertyInfoCache = null;
270
TaskPropertyInfo
[] propertyInfos = _taskFactory.GetTaskParameters();
277
TaskPropertyInfo
propertyInfo = propertyInfos[i];
287
propertyInfoCache = new Dictionary<string,
TaskPropertyInfo
>(StringComparer.OrdinalIgnoreCase);
334
(IReadOnlyDictionary<string,
TaskPropertyInfo
>?)propertyInfoCache ?? ReadOnlyEmptyDictionary<string,
TaskPropertyInfo
>.Instance);
Instance\TaskRegistry.cs (6)
1626
private IDictionary<string,
TaskPropertyInfo
> _usingTaskParameters;
1648
internal IDictionary<string,
TaskPropertyInfo
> UsingTaskParameters
1650
get { return _usingTaskParameters ?? ReadOnlyEmptyDictionary<string,
TaskPropertyInfo
>.Instance; }
1740
_usingTaskParameters ??= new Dictionary<string,
TaskPropertyInfo
>(StringComparer.OrdinalIgnoreCase);
1832
translator.TranslateDictionary(ref _usingTaskParameters, TranslatorForTaskParametersKey, TranslatorForTaskParameterValue, count => new Dictionary<string,
TaskPropertyInfo
>(StringComparer.OrdinalIgnoreCase));
1842
private static void TranslatorForTaskParameterValue(ITranslator translator, ref
TaskPropertyInfo
taskPropertyInfo)
Microsoft.Build.Framework (9)
IGeneratedTask.cs (4)
19
/// <param name="value">The value to set. The caller is responsible to type-coerce this value to match the property's <see cref="
TaskPropertyInfo
.PropertyType"/>.</param>
24
void SetPropertyValue(
TaskPropertyInfo
property, object value);
31
/// The value of the property, the value's type will match the type given by <see cref="
TaskPropertyInfo
.PropertyType"/>.
38
object GetPropertyValue(
TaskPropertyInfo
property);
ITaskFactory.cs (2)
42
bool Initialize(string taskName, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost);
48
TaskPropertyInfo
[] GetTaskParameters();
ITaskFactory2.cs (1)
38
bool Initialize(string taskName, IDictionary<string, string> factoryIdentityParameters, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost);
ITaskFactory3.cs (1)
50
bool Initialize(string taskName, TaskHostParameters factoryIdentityParameters, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost);
ReflectableTaskPropertyInfo.cs (1)
33
internal ReflectableTaskPropertyInfo(
TaskPropertyInfo
taskPropertyInfo, Type taskType)
Microsoft.Build.Tasks.Core (10)
CodeTaskFactory.cs (2)
1137
public bool Initialize(string taskName, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
1150
public
TaskPropertyInfo
[] GetTaskParameters()
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (6)
115
private
TaskPropertyInfo
[] _parameters;
159
public
TaskPropertyInfo
[] GetTaskParameters()
168
public bool Initialize(string taskName, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
229
internal static string GetSourceCode(RoslynCodeTaskFactoryTaskInfo taskInfo, ICollection<
TaskPropertyInfo
> parameters)
245
foreach (
TaskPropertyInfo
propertyInfo in parameters)
318
internal static bool TryLoadTaskBody(TaskLoggingHelper log, string taskName, string taskBody, ICollection<
TaskPropertyInfo
> parameters, IBuildEngine taskFactoryEngineContext, out RoslynCodeTaskFactoryTaskInfo taskInfo)
XamlTaskFactory\XamlTaskFactory.cs (2)
272
public bool Initialize(string taskName, IDictionary<string,
TaskPropertyInfo
> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
285
public
TaskPropertyInfo
[] GetTaskParameters()