Exemple #1
0
    private static Dictionary <string, object> GetConfigVoDic <T>() where T : new()
    {
        var data = ConfigTool.GetInstance().AnalyseBinaryConfig <T> ();

        if (data == null)
        {
            throw new InvalidOperationException(string.Format("{0} not exist", typeof(T).Name));
        }
        else
        {
            return(data);
        }
    }