Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/System/SupportedConfigurationsAttribute.cs
joe kirchoff 0531eb4a9f UnrealBuildTool: Resolve CA1019
#rnx

[CL 32702872 by joe kirchoff in ue5-main branch]
2024-04-03 13:25:26 -04:00

28 lines
829 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
namespace UnrealBuildTool
{
/// <summary>
/// Attribute which can be applied to a TargetRules-dervied class to indicate which configurations it supports
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class SupportedConfigurationsAttribute : Attribute
{
/// <summary>
/// Array of supported platforms
/// </summary>
public UnrealTargetConfiguration[] Configurations { get; }
/// <summary>
/// Initialize the attribute with a list of configurations
/// </summary>
/// <param name="configurations">Variable-length array of configuration arguments</param>
public SupportedConfigurationsAttribute(params UnrealTargetConfiguration[] configurations)
{
Configurations = configurations;
}
}
}