30 lines
826 B
C#
30 lines
826 B
C#
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace RulesEngine.Models
|
|
{
|
|
/// <summary>
|
|
/// Workflow rules class for deserialization the json config file
|
|
/// </summary>
|
|
[ExcludeFromCodeCoverage]
|
|
public class WorkflowRules
|
|
{
|
|
/// <summary>
|
|
/// Gets the workflow name.
|
|
/// </summary>
|
|
public string WorkflowName { get; set; }
|
|
|
|
/// <summary>Gets or sets the workflow rules to inject.</summary>
|
|
/// <value>The workflow rules to inject.</value>
|
|
public IEnumerable<string> WorkflowRulesToInject { get; set; }
|
|
|
|
/// <summary>
|
|
/// list of rules.
|
|
/// </summary>
|
|
public IEnumerable<Rule> Rules { get; set; }
|
|
}
|
|
}
|