using Newtonsoft.Json;
using System;
using System.Runtime.Serialization;
namespace TINK.Model.State
{
///
/// Represents the state available.
///
[DataContract]
public sealed class StateAvailableInfo : BaseState, IBaseState
{
///
/// Constructs state info object representing state available.
///
public StateAvailableInfo() : base(InUseStateEnum.Disposable)
{
}
/// Constructor for Json serialization.
/// Unused value.
[JsonConstructor]
private StateAvailableInfo (InUseStateEnum p_eValue) : base(InUseStateEnum.Disposable)
{
}
///
/// Gets the info that state is disposable.
/// Setter exists only for serialization purposes.
///
public override InUseStateEnum Value
{
get
{
return InUseStateEnum.Disposable;
}
}
}
}