BITKit/Src/Core/Node/ICondition.cs

17 lines
314 B
C#

using System;
namespace BITKit
{
public interface ICondition
{
public bool Allow => OnCheck();
public string Reason=> "Not Implemented";
bool OnCheck();
}
[Serializable]
public struct AllowCondition : ICondition
{
public bool OnCheck() => true;
}
}