private new static EffectViewModelBase CreateFromData(EffectBase effect)
        {
            if (!(effect is AddTagEffect addTagEffect))
            {
                return(null);
            }

            var tag       = TagViewModelBase.CreateFromData(addTagEffect.Tag);
            var condition = ConditionViewModelBase.CreateFromData(addTagEffect.Condition);

            return(new AddTagEffectViewModel(tag, addTagEffect.ConflictResolution, condition, addTagEffect.Target));
        }
 private AddTagEffectViewModel(TagViewModelBase tag, KeyConflictResolutionKind conflictResolution, ConditionViewModelBase condition, EffectTarget target)
     : base(condition, target)
 {
     m_tag = tag;
     m_conflictResolution = conflictResolution;
 }