31 lines
725 B
C#
31 lines
725 B
C#
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
using Newtonsoft.Json;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace RulesEngine.Models
|
|
{
|
|
/// <summary>Class LocalParam.
|
|
/// </summary>
|
|
[ExcludeFromCodeCoverage]
|
|
public class LocalParam
|
|
{
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name of the rule.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The name of the rule.
|
|
/// </value>
|
|
[JsonProperty, JsonRequired]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets the lambda expression.
|
|
/// </summary>
|
|
[JsonProperty, JsonRequired]
|
|
public string Expression { get; set; }
|
|
}
|
|
}
|