public Requirement(SerializableRequirement serializable, Database database)
        {
            Type = (RequirementType)serializable.Type;

            Content = RequirementFactory.CreateRequirement(Type);
            Content.Load(serializable, database);
        }
 private void OnTypeChanged()
 {
     Content = RequirementFactory.CreateRequirement(Type);
     DataChangedEvent?.Invoke();
     LayoutChangedEvent?.Invoke();
 }
 public Requirement()
 {
     Type    = RequirementType.Empty;
     Content = RequirementFactory.CreateRequirement(Type);
 }