Skip to content

Commit cc446bb

Browse files
authored
Allow multiple FileDataSourceAttribute to be used
Simply removing this will allow plugins to support multiple different file extensions. WPA already has the support for it as WPA always processes `FileDataSourceAttribute` in an `IEnumerable`. Even in this repo we have tests for multiple extensions (`TryGetFileExtensions_FileDataSources_ReturnsExtensions`)
1 parent 96a4a3c commit cc446bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Performance.SDK/Processing/FileDataSourceAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Performance.SDK.Processing
1212
/// files of a specific type. This is used to instruct callers to route files
1313
/// with a given extension to the decorated <see cref="IProcessingSource"/> for processing.
1414
/// </summary>
15-
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
15+
[AttributeUsage(AttributeTargets.Class)]
1616
public sealed class FileDataSourceAttribute
1717
: DataSourceAttribute,
1818
IEquatable<FileDataSourceAttribute>

0 commit comments

Comments
 (0)