Поделиться через


BuildEventArgsExtensions.EnumerateItemsOfType Method

Definition

Overloads

EnumerateItemsOfType(ProjectEvaluationFinishedEventArgs, String)

Lazy enumerates and partially strong types items from Items property. Only items with matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface

EnumerateItemsOfType(ProjectStartedEventArgs, String)

Lazy enumerates and partially strong types items from Items property. Only items with matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface

EnumerateItemsOfType(ProjectEvaluationFinishedEventArgs, String)

Source:
BuildEventArgsExtensions.cs

Lazy enumerates and partially strong types items from Items property. Only items with matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::Build::Framework::ItemData> ^ EnumerateItemsOfType(Microsoft::Build::Framework::ProjectEvaluationFinishedEventArgs ^ eventArgs, System::String ^ typeName);
public static System.Collections.Generic.IEnumerable<Microsoft.Build.Framework.ItemData> EnumerateItemsOfType(this Microsoft.Build.Framework.ProjectEvaluationFinishedEventArgs eventArgs, string typeName);
static member EnumerateItemsOfType : Microsoft.Build.Framework.ProjectEvaluationFinishedEventArgs * string -> seq<Microsoft.Build.Framework.ItemData>
<Extension()>
Public Function EnumerateItemsOfType (eventArgs As ProjectEvaluationFinishedEventArgs, typeName As String) As IEnumerable(Of ItemData)

Parameters

typeName
String

Returns

Applies to

EnumerateItemsOfType(ProjectStartedEventArgs, String)

Source:
BuildEventArgsExtensions.cs

Lazy enumerates and partially strong types items from Items property. Only items with matching type will be returned (case-insensitive, MSBuild valid names only). The actual item value is proxied via accessor methods - to be able to provide defined interface

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::Build::Framework::ItemData> ^ EnumerateItemsOfType(Microsoft::Build::Framework::ProjectStartedEventArgs ^ eventArgs, System::String ^ typeName);
public static System.Collections.Generic.IEnumerable<Microsoft.Build.Framework.ItemData> EnumerateItemsOfType(this Microsoft.Build.Framework.ProjectStartedEventArgs eventArgs, string typeName);
static member EnumerateItemsOfType : Microsoft.Build.Framework.ProjectStartedEventArgs * string -> seq<Microsoft.Build.Framework.ItemData>
<Extension()>
Public Function EnumerateItemsOfType (eventArgs As ProjectStartedEventArgs, typeName As String) As IEnumerable(Of ItemData)

Parameters

typeName
String

Returns

Applies to