// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.Common.Recipes
{
///
/// The conditions for the test used by the rule.
///
public class RuleCondition
{
///
/// The value to check for. Used by the MSProjectSdkAttribute test
///
public string? Value { get; set; }
///
/// The name of the ms property for tests. Used by the MSProperty and MSPropertyExists
///
public string? PropertyName { get; set; }
///
/// The list of allowed values to check for. Used by the MSProperty test
///
public IList AllowedValues { get; set; } = new List();
///
/// The name of file to search for. Used by the FileExists test.
///
public string? FileName { get; set; }
///
/// The name of a NuGet package for tests. Used to see if projects are taking dependencies on specific packages.
///
public string? NuGetPackageName { get; set; }
}
}