2022-08-30 15:42:25 +02:00
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace TINK.Model.State
|
|
|
|
|
{
|
2022-09-06 16:08:19 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents the state feedback pending.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataContract]
|
|
|
|
|
public sealed class StateFeedbackPendingInfo : BaseState, IBaseState
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Constructs state info object representing feedback pending.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public StateFeedbackPendingInfo() : base(InUseStateEnum.FeedbackPending) { }
|
2022-08-30 15:42:25 +02:00
|
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
|
/// <summary> Constructor for Json serialization. </summary>
|
|
|
|
|
/// <param name="value">Unused value.</param>
|
|
|
|
|
[JsonConstructor]
|
|
|
|
|
private StateFeedbackPendingInfo(InUseStateEnum value) : base(InUseStateEnum.FeedbackPending) { }
|
2022-08-30 15:42:25 +02:00
|
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the info that state is disposable.
|
|
|
|
|
/// Setter exists only for serialization purposes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public override InUseStateEnum Value => InUseStateEnum.FeedbackPending;
|
|
|
|
|
}
|
2022-08-30 15:42:25 +02:00
|
|
|
|
}
|