54 references to WrappedParameter
Microsoft.Build (3)
Instance\TaskFactories\TaskHostTask.cs (1)
497_setParameters[outputParam.Key] = outputParam.Value?.WrappedParameter;
TaskParameter.cs (2)
219return (WrappedParameter == null) ? String.Empty : WrappedParameter.ToString();
Microsoft.Build.Engine.UnitTests (51)
BackEnd\TaskHostConfiguration_Tests.cs (8)
525Assert.Equal(config.TaskParameters["Text"].WrappedParameter, deserializedConfig.TaskParameters["Text"].WrappedParameter); 526Assert.Equal(config.TaskParameters["BoolValue"].WrappedParameter, deserializedConfig.TaskParameters["BoolValue"].WrappedParameter); 574TaskHostPacketHelpers.AreEqual((ITaskItem)config.TaskParameters["TaskItemValue"].WrappedParameter, (ITaskItem)deserializedConfig.TaskParameters["TaskItemValue"].WrappedParameter); 623ITaskItem[] itemArray = (ITaskItem[])config.TaskParameters["TaskItemArrayValue"].WrappedParameter; 624ITaskItem[] deserializedItemArray = (ITaskItem[])deserializedConfig.TaskParameters["TaskItemArrayValue"].WrappedParameter;
BackEnd\TaskHostTaskComplete_Tests.cs (8)
176Assert.Equal(complete.TaskOutputParameters["Text"].WrappedParameter, deserializedComplete.TaskOutputParameters["Text"].WrappedParameter); 177Assert.Equal(complete.TaskOutputParameters["BoolValue"].WrappedParameter, deserializedComplete.TaskOutputParameters["BoolValue"].WrappedParameter); 203TaskHostPacketHelpers.AreEqual((ITaskItem)complete.TaskOutputParameters["TaskItemValue"].WrappedParameter, (ITaskItem)deserializedComplete.TaskOutputParameters["TaskItemValue"].WrappedParameter); 230ITaskItem[] itemArray = (ITaskItem[])complete.TaskOutputParameters["TaskItemArrayValue"].WrappedParameter; 231ITaskItem[] deserializedItemArray = (ITaskItem[])deserializedComplete.TaskOutputParameters["TaskItemArrayValue"].WrappedParameter;
TaskParameter_Tests.cs (35)
33Assert.Null(t.WrappedParameter); 39Assert.Null(t2.WrappedParameter); 66Assert.Equal(value, t.WrappedParameter); 73Assert.Equal(value, t2.WrappedParameter); 108Assert.Equal(array, t.WrappedParameter); 115Assert.Equal(array, t2.WrappedParameter); 126Assert.Equal(value, t.WrappedParameter); 133Assert.Equal(value.ToString(CultureInfo.InvariantCulture), t2.WrappedParameter); 147Assert.Equal(value, t.WrappedParameter); 154Assert.True(t2.WrappedParameter is string[]); 157string[] stringArray = (string[])t2.WrappedParameter; 174Assert.Equal("SomethingElse", t.WrappedParameter); 181Assert.Equal("SomethingElse", t2.WrappedParameter); 196ITaskItem foo = t.WrappedParameter as ITaskItem; 205ITaskItem foo2 = t2.WrappedParameter as ITaskItem; 224ITaskItem foo = t.WrappedParameter as ITaskItem; 235ITaskItem foo2 = t2.WrappedParameter as ITaskItem; 252ITaskItem[] wrappedParameter = t.WrappedParameter as ITaskItem[]; 263ITaskItem[] wrappedParameter2 = t.WrappedParameter as ITaskItem[]; 281ITaskItem foo = t.WrappedParameter as ITaskItem; 290ITaskItem foo2 = t2.WrappedParameter as ITaskItem; 306ITaskItem foo = t.WrappedParameter as ITaskItem; 315ITaskItem foo2 = t2.WrappedParameter as ITaskItem; 319TaskParameter t3 = new TaskParameter(t2.WrappedParameter); 326ITaskItem foo4 = t4.WrappedParameter as ITaskItem; 342ITaskItem2 foo = t.WrappedParameter as ITaskItem2; 352ITaskItem2 foo2 = t2.WrappedParameter as ITaskItem2; 373ITaskItem foo = t.WrappedParameter as ITaskItem; 384ITaskItem foo2 = t2.WrappedParameter as ITaskItem; 406ITaskItem foo = t.WrappedParameter as ITaskItem; 417ITaskItem foo2 = t2.WrappedParameter as ITaskItem; 423TaskParameter t3 = new TaskParameter(t2.WrappedParameter); 430ITaskItem foo4 = t4.WrappedParameter as ITaskItem; 453ITaskItem2 foo = t.WrappedParameter as ITaskItem2; 466ITaskItem2 foo2 = t2.WrappedParameter as ITaskItem2;