﻿using System;
using System.Collections.Generic;

namespace JR.Stand.Core.Template.Impl
{
    /// <summary>
    /// 模板变量对象
    /// </summary>
    public interface ITemplateVariableObject
    {
        /// <summary>
        /// 数据字典
        /// </summary>
        IDictionary<String, String> __dict__ { get; }

        /// <summary>
        /// 添加数据
        /// </summary>
        /// <param name="key"></param>
        /// <param name="data"></param>
        void AddData(string key, string data);

        /// <summary>
        /// 删除数据
        /// </summary>
        /// <param name="key"></param>
        void RemoveData(string key);
    }
}